aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2023-03-09 16:43:45 +0100
committer0neGal <mail@0negal.com>2023-03-09 16:43:45 +0100
commitc1ac53db298354a13df2978a4b89706919e8b8c8 (patch)
treebfa3662155420b08ef6326f7f17c80076d3e397c /src/modules
parentb4f473a45ab1b8ea29aa6c0818bdedf082a816ab (diff)
downloadViper-c1ac53db298354a13df2978a4b89706919e8b8c8.tar.gz
Viper-c1ac53db298354a13df2978a4b89706919e8b8c8.zip
fixed missing modules in gamepath.js
This was from the modularization commits, managed to miss this...
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/gamepath.js6
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