1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-11 02:13:49 +09:00
This commit is contained in:
Sergey Cherepanov 2023-06-12 16:01:17 +02:00
parent 40cd112a2a
commit cb0396c40f
No known key found for this signature in database
GPG key ID: 87F8EDE8FBDF637C

View file

@ -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