noctalia-shell/Services/UpdateService.qml
Ly-sec 9db6a0d438 Release v2.5.0
- Launcher: full rework
- Notification: display app icon
- Hooks: let people create their own commands after wallpaper change &
  light/dark toggle
- NInputAction: create new widget

A lot of quality of life changes & fixes
2025-09-04 19:41:44 +02:00

30 lines
626 B
QML

pragma Singleton
import QtQuick
import Quickshell
import qs.Commons
Singleton {
id: root
// Public properties
property string baseVersion: "v2.5.0"
property bool isRelease: true
property string currentVersion: isRelease ? baseVersion : baseVersion + "-dev"
// Internal helpers
function getVersion() {
return root.currentVersion
}
function checkForUpdates() {
// TODO: Implement update checking logic
Logger.log("UpdateService", "Checking for updates...")
}
function init() {
// Ensure the singleton is created
Logger.log("UpdateService", "Version:", root.currentVersion)
}
}