fix(updater): restore Qt release checks and signed installation

cx
This commit is contained in:
vicrodh committed 2026-09-12 15:20:23 -06:00
1 parent 6a02dcdd67
commit 64ec3e2bc8
37 files changed
+2462 -7

No files matched your search

@@ -76,6 +76,7 @@ Item {
{ label: QbzSession.tr("Blacklist", QbzSession.trRev), section: 5 },
{ label: QbzSession.tr("Integrations", QbzSession.trRev), section: 6 },
{ label: QbzSession.tr("Import / Export", QbzSession.trRev), section: 9 },
{ label: QbzSession.tr("Updates", QbzSession.trRev), section: 12 },
{ label: QbzSession.tr("Developer", QbzSession.trRev), section: 7 }
].concat(QbzOrbit.enabled ? [{ label: "Orbit", section: 11 }] : []).concat(root.sandboxed ? [{ label: (doc.dev || ({})).installMethod === "snap"
? QbzSession.tr("Snap", QbzSession.trRev) : QbzSession.tr("Flatpak", QbzSession.trRev), section: 8 }] : [])
@@ -281,6 +282,12 @@ Item {
active: root.section === 9
onClicked: QbzBridge.settingsSetSection(9)
}
SubNavItem {
name: "refresh-cw"
label: QbzSession.tr("Updates", QbzSession.trRev)
active: root.section === 12
onClicked: QbzBridge.settingsSetSection(12)
}
SubNavItem {
name: "bug"
label: QbzSession.tr("Developer", QbzSession.trRev)
@@ -413,6 +420,12 @@ Item {
width: parent ? parent.width : 0
}
Panel {
panelIndex: 12
sourceComponent: Component {
UpdatesSettings { width: parent.width; kioskHost: root.kioskHost }
}
}
OrbitSettingsPanel {
width: parent.width
selected: root.section === 11
@@ -0,0 +1,57 @@
import QtQuick
import com.blitzfc.qbz
import "../controls"
import "../theme"
Column {
id: root
property bool kioskHost: false
readonly property var doc: JSON.parse(QbzAbout.updatesJson)
spacing: 4
QbzTheme { id: theme }
SettingRow {
kioskHost: root.kioskHost
label: QbzSession.tr("Check for new releases on launch", QbzSession.trRev)
QbzToggle {
kioskHost: root.kioskHost
checked: root.doc.checkOnLaunch !== false
onToggled: function (enabled) { QbzAbout.updatesSetLaunch(enabled) }
}
}
SettingRow {
kioskHost: root.kioskHost
label: QbzSession.tr("Check for updates now", QbzSession.trRev)
SettingsButton {
objectName: "updateCheckButton"
kioskHost: root.kioskHost
width: 160
text: root.doc.busy ? QbzSession.tr("Checking...", QbzSession.trRev) : QbzSession.tr("Check", QbzSession.trRev)
enabled: root.doc.busy !== true
onClicked: QbzAbout.updatesCheck()
}
}
Text {
width: parent.width
text: QbzSession.tr("Current version", QbzSession.trRev) + ": " + (root.doc.currentVersion || "")
color: theme.textMuted
font.pixelSize: theme.fontBody
}
Text {
width: parent.width
text: QbzSession.tr("Installation", QbzSession.trRev) + ": " + (root.doc.installMethod === "System / manual" ? QbzSession.tr("System / manual", QbzSession.trRev) : (root.doc.installMethod || ""))
color: theme.textMuted
font.pixelSize: theme.fontBody
}
SettingsSpacer { }
SettingRow {
kioskHost: root.kioskHost
label: QbzSession.tr("Show changelog for current version", QbzSession.trRev)
SettingsButton {
kioskHost: root.kioskHost
width: 160
text: QbzSession.tr("Show", QbzSession.trRev)
onClicked: QbzAbout.whatsNewOpen()
}
}
}