UpdateService: inverted logic

This commit is contained in:
LemmyCook 2025-09-04 14:46:29 -04:00
parent b778a80c79
commit f84889ca13

View file

@ -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() {