UpdateService: inverted logic
This commit is contained in:
parent
b778a80c79
commit
f84889ca13
1 changed files with 3 additions and 3 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue