noctalia-shell/Services/UpdateService.qml
Ly-sec 983e3c5cbe Release v2.7.0
Network: Even more improvements
SysStat: Remove bash script
Notification: Pore image support
NotificationHistory: Proper unread count
Settings: Migrate Bar widgets to new settings
BarWidgets: Easier to access, edit
Background: add default wallpaper (if none is set)
SystemMonitor: add % support for RAM
BarTab:
- remove global settings for widgets
- add settings button per bar widget, this makes it possible to have separate settings of the same kind with different settings. This also makes it way easier to configure.

A decent amount of QoL changes & fixes
2025-09-08 12:28:35 +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.7.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)
}
}