From c1ac53db298354a13df2978a4b89706919e8b8c8 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Thu, 9 Mar 2023 16:43:45 +0100 Subject: fixed missing modules in gamepath.js This was from the modularization commits, managed to miss this... --- src/modules/gamepath.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3