We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a038c23 commit 4ee47fbCopy full SHA for 4ee47fb
packages/compass/src/main/auto-update-manager.ts
@@ -63,7 +63,11 @@ function isMismatchedArchDarwin(): boolean {
63
async function download(url: string): Promise<void> {
64
const maybeWindow = BrowserWindow.getAllWindows()[0];
65
if (maybeWindow) {
66
- await dl.download(maybeWindow, url);
+ await dl.download(maybeWindow, url, {
67
+ onCompleted(file) {
68
+ void shell.openExternal(file.path);
69
+ },
70
+ });
71
} else {
72
await shell.openExternal(url);
73
}
0 commit comments