aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/app/js/browser.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/js/browser.js b/src/app/js/browser.js
index f010038..3415ebf 100644
--- a/src/app/js/browser.js
+++ b/src/app/js/browser.js
@@ -1,5 +1,5 @@
const Fuse = require("fuse.js");
-const ipcRenderer = require("electron").ipcRenderer;
+const { ipcRenderer, shell } = require("electron");
const lang = require("../../lang");
@@ -426,7 +426,7 @@ browser.mod_el = (properties) => {
installstr = lang("gui.browser.guide");
installcallback = () => {
- browser.preview.set(nondefault_install[normalized_title])
+ shell.openExternal(nondefault_install[normalized_title])
}
}
else if (properties.pkg.local_version) {