mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-10 01:51:11 +09:00
comments
This commit is contained in:
parent
40cd112a2a
commit
cb0396c40f
1 changed files with 2 additions and 0 deletions
|
@ -79,10 +79,12 @@ func (app *App) Version() string {
|
|||
return GitSummary
|
||||
}
|
||||
|
||||
// SetVersionName sets the custom application version
|
||||
func (app *App) SetVersionName(v string) {
|
||||
app.versionName = v
|
||||
}
|
||||
|
||||
// VersionName returns a string with the settled app version or auto-generated version if it didn't set
|
||||
func (app *App) VersionName() string {
|
||||
if app.versionName != "" {
|
||||
return app.versionName
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue