diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2024-07-21 18:19:36 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2024-07-21 18:19:36 +0200 |
commit | 960b6c96ca8a7d7d293f306240c7af4cbf52306b (patch) | |
tree | 873afff420bf20b57d076655c3ae8742504e0918 /src | |
parent | f8b3c9ff47688d253c18c656a90c656f78972f20 (diff) | |
download | Viper-960b6c96ca8a7d7d293f306240c7af4cbf52306b.tar.gz Viper-960b6c96ca8a7d7d293f306240c7af4cbf52306b.zip |
open non-default installation guide externally
Diffstat (limited to 'src')
-rw-r--r-- | src/app/js/browser.js | 4 |
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) { |