diff options
Diffstat (limited to 'src/modules/gamepath.js')
-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 |