fix(app): show Linux update wording only for Linux packages

This commit is contained in:
Hampus
2026-10-07 23:54:30 +02:00
parent c748c8af4e
commit dfd518e823
@@ -148,7 +148,7 @@ export const UpdaterIcon = observer(() => {
: i18n._(DOWNLOADING_UPDATE_2_DESCRIPTOR, {percent});
}
if (Platform.isElectron && (store.nativeAwaitingDownload || store.nativeManualUpdateAvailable)) {
if (store.nativeManualUpdateAvailable) {
if (store.nativeManualUpdateAvailable && store.nativeManualDownloadOptions.length > 0) {
return version ? i18n._(CHOOSE_LINUX_PACKAGE_DESCRIPTOR, {version}) : i18n._(CHOOSE_LINUX_PACKAGE_2_DESCRIPTOR);
}
const size = store.updateInfo.native.downloadSize;
@@ -176,6 +176,7 @@ export const UpdaterIcon = observer(() => {
store.nativeAwaitingDownload,
store.nativeDownloadInFlight,
store.nativeDownloadProgressSupported,
store.nativeManualDownloadOptions,
store.nativeManualUpdateAvailable,
store.nativeUpdateReady,
store.updateInfo.native.downloadSize,