mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-01 18:15:41 +00:00
UpdateService: inverted logic
This commit is contained in:
@@ -8,10 +8,10 @@ Singleton {
|
||||
id: root
|
||||
|
||||
// Public properties
|
||||
property string baseVersion: "v2.5.0"
|
||||
property bool isRelease: false
|
||||
property string baseVersion: "2.5.0"
|
||||
property bool isDevelopment: true
|
||||
|
||||
property string currentVersion: isRelease ? baseVersion : baseVersion + "-dev"
|
||||
property string currentVersion: `v${!isDevelopment ? baseVersion : baseVersion + "-dev"}`
|
||||
|
||||
// Internal helpers
|
||||
function getVersion() {
|
||||
|
||||
Reference in New Issue
Block a user