noctalia-shell/Services/UpdateService.qml
Ly-sec 0e53ce3ac0 Release v2.6.0
SettingsPanel: added keyboard navigation
BluetoothPanel: UI enhancements
WiFiPanel: UI enhancements
NotificationPanel: UI enhancements
ColorPicker: UI enhancements
Toast: handle switching between toasts much better
Notification: add DND option
Notification: add actions
LauncherTab: add app2unit toggle
Spacer: added spacer widget with configurable width
ActiveWindow: fix hyprland icon display
PowerPanel: add keybind controls
NetworkService: make it way more reliable

More QoL fixes & changes
2025-09-06 14:17:12 +02:00

30 lines
641 B
QML

pragma Singleton
import QtQuick
import Quickshell
import qs.Commons
Singleton {
id: root
// Public properties
property string baseVersion: "2.6.0"
property bool isDevelopment: false
property string currentVersion: `v${!isDevelopment ? 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)
}
}