mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-19 16:45:41 +08:00
fix: update failed(updater.install called before updater.download)
This commit is contained in:
1 parent
1cd1a2d907
commit
6ad975c420
1 file changed
+1
-1
@@ -79,7 +79,7 @@ export const UpdateViewer = forwardRef<DialogRef>((props, ref) => {
|
||||
},
|
||||
);
|
||||
try {
|
||||
await updateInfo.install();
|
||||
await updateInfo.downloadAndInstall();
|
||||
await relaunch();
|
||||
} catch (err: any) {
|
||||
Notice.error(err?.message || err.toString());
|
||||
|
||||
Reference in new issue
Block a user