mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix(desktop): fix manual update wording and retry Velopack (#3261)
This commit is contained in:
1 parent
5c63d81ffd
commit
2e3e3a1536
3 files changed
+52
-4
No files matched your search
+2
-1
@@ -159,7 +159,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;
|
||||
@@ -188,6 +188,7 @@ export const UpdaterIcon = observer(() => {
|
||||
store.nativeAwaitingDownload,
|
||||
store.nativeDownloadInFlight,
|
||||
store.nativeDownloadProgressSupported,
|
||||
store.nativeManualDownloadOptions,
|
||||
store.nativeManualUpdateAvailable,
|
||||
store.nativeUpdateReady,
|
||||
store.updateInfo.native.downloadSize,
|
||||
|
||||
Reference in new issue
Block a user