Skip to content

Commit 322b128

Browse files
committed
chore(compass): replace direct download with open external
1 parent 4cdfbb2 commit 322b128

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/compass/src/main/auto-update-manager.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -850,8 +850,7 @@ class CompassAutoUpdateManager {
850850
})
851851
.then(({ response }) => {
852852
if (response === 0) {
853-
return dl.download(
854-
BrowserWindow.getAllWindows()[0],
853+
return shell.openExternal(
855854
`https://compass.mongodb.com/api/v2/download/${this.autoUpdateOptions.version}/compass/${this.autoUpdateOptions.channel}/darwin-arm64`
856855
);
857856
}

0 commit comments

Comments
 (0)