diff options
author | 0neGal <mail@0negal.com> | 2023-03-09 16:43:45 +0100 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2023-03-09 16:43:45 +0100 |
commit | c1ac53db298354a13df2978a4b89706919e8b8c8 (patch) | |
tree | bfa3662155420b08ef6326f7f17c80076d3e397c | |
parent | b4f473a45ab1b8ea29aa6c0818bdedf082a816ab (diff) | |
download | Viper-c1ac53db298354a13df2978a4b89706919e8b8c8.tar.gz Viper-c1ac53db298354a13df2978a4b89706919e8b8c8.zip |
fixed missing modules in gamepath.js
This was from the modularization commits, managed to miss this...
-rw-r--r-- | src/modules/gamepath.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/gamepath.js b/src/modules/gamepath.js index af98f79..6a02631 100644 --- a/src/modules/gamepath.js +++ b/src/modules/gamepath.js @@ -4,8 +4,12 @@ const fs = require("fs-extra"); const { dialog, ipcMain } = require("electron"); const cli = require("../cli"); +const lang = require("../lang"); +const win_show = require("./window"); const settings = require("./settings"); +const findgame = require("./findgame"); + let gamepath = {}; @@ -54,7 +58,7 @@ gamepath.set = async (win, force_dialog) => { return; } - win.alert(lang("general.missingpath")); + win_show.alert(lang("general.missingpath")); } // fallback to GUI/manual selection |