updater hotfix
tests / package-smoke-linux (push) Skipped
tests / package-smoke-windows (push) Skipped
tests / package-smoke-macos (push) Skipped
tests / macos (push) Successful in 1m15s
tests / linux (push) Failing after 2m3s
tests / windows (push) Failing after 2m7s
release / create-release (push) Failing after 2s
release / build-linux (push) Skipped
release / build-windows (push) Skipped
release / build-macos (push) Skipped
release / publish (push) Skipped

Signed-off-by: galeon <dertiellis@gmail.com>
This commit is contained in:
galeon committed 2026-11-05 23:36:58 +03:00
1 parent f57d6d02fe
commit efb56a8411
5 files changed
+127 -23

No files matched your search

+20 -11
View File
@@ -204,26 +204,32 @@ Window {
// ── Панели хода работ ──────────────────────────────────────────────────
ProgressPanel {
id: downloadPanel
visible: backend.downloading
visible: launcherUpdates.installing || backend.downloading
anchors.left: parent.left
anchors.bottom: parent.bottom
anchors.leftMargin: 24
anchors.bottomMargin: 24
title: Loc.t.common.progress.downloadingNamed.arg(backend.downloadVersion)
fraction: backend.downloadProgress
status: backend.downloadStatus
detail: backend.downloadBytesTotal > 0
title: Loc.t.common.progress.downloadingNamed.arg(launcherUpdates.installing
? launcherVersions.selectedVersion : backend.downloadVersion)
fraction: launcherUpdates.installing ? launcherUpdates.downloadProgress : backend.downloadProgress
status: launcherUpdates.installing ? Loc.t.app.status.downloadingInstaller : backend.downloadStatus
detail: !launcherUpdates.installing && backend.downloadBytesTotal > 0
? Loc.t.common.progress.bytes.arg(backend.downloadStatus)
.arg(window.formatMb(backend.downloadBytesDone))
.arg(window.formatMb(backend.downloadBytesTotal))
: ""
onCancelRequested: backend.cancelDownload()
onCancelRequested: {
if (launcherUpdates.installing)
launcherUpdates.cancelDownload()
else
backend.cancelDownload()
}
}
ProgressPanel {
id: switchPanel
visible: backend.switching
visible: backend.switching && !launcherUpdates.installing
anchors.left: parent.left
anchors.bottom: parent.bottom
anchors.leftMargin: 24
@@ -242,7 +248,7 @@ Window {
height: 170
anchors.centerIn: parent
hoverEnabled: false
enabled: !backend.busy && !backend.gameRunning
enabled: !launcherUpdates.installing && !backend.busy && !backend.gameRunning
background: Image {
id: buttonImage
@@ -268,7 +274,7 @@ Window {
rotation: 0
editable: false
hoverEnabled: true
enabled: !backend.busy && !backend.gameRunning
enabled: !launcherUpdates.installing && !backend.busy && !backend.gameRunning
opacity: enabled ? 1.0 : 0.45
model: backend.profileNames
@@ -453,7 +459,7 @@ Window {
anchors.rightMargin: 0
anchors.bottomMargin: -218
hoverEnabled: true
enabled: !backend.gameRunning && !backend.switching && !backend.seasonalInstalling
enabled: !launcherUpdates.installing && !backend.gameRunning && !backend.switching && !backend.seasonalInstalling
opacity: enabled ? 1.0 : 0.45
contentItem: Text {
@@ -503,6 +509,7 @@ Window {
anchors.leftMargin: -59
anchors.bottomMargin: -45
hoverEnabled: true
enabled: !launcherUpdates.installing
background: Image {
id: folderButtonImage
@@ -528,7 +535,7 @@ Window {
anchors.verticalCenter: folderButton.verticalCenter
anchors.leftMargin: 8
hoverEnabled: true
enabled: !backend.busy && !backend.gameRunning
enabled: !launcherUpdates.installing && !backend.busy && !backend.gameRunning
background: Image {
anchors.fill: parent
@@ -554,6 +561,8 @@ Window {
anchors.rightMargin: 24
anchors.bottomMargin: 24
hoverEnabled: true
enabled: !launcherUpdates.installing
opacity: enabled ? 1.0 : 0.45
contentItem: Text {
text: Loc.t.common.title.seasonalBuilds