From 519dcad6e63a8a9dd3c45f4d111e04497a1bf9b1 Mon Sep 17 00:00:00 2001 From: MasterAcnolo <68693319+MasterAcnolo@users.noreply.github.com> Date: Fri, 29 May 2026 07:42:49 +0200 Subject: [PATCH] fix: rename localMode => devMode for clarity --- config.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/config.js b/config.js index 3e8a43d..ff05cdc 100644 --- a/config.js +++ b/config.js @@ -3,10 +3,12 @@ const { app } = require("electron"); const fs = require("fs"); const path = require("path"); -const localMode = !app.isPackaged; + +const devMode = !app.isPackaged; + function resolveConfigPath() { - if (localMode) { + if (devMode) { const devConfigPath = path.join(__dirname, "config", "config.dev.json"); if (!fs.existsSync(devConfigPath)) { const defaultConfigPath = path.join(__dirname, "config", "config.default.json"); @@ -36,7 +38,7 @@ const configFeatures = loadFeatures(); module.exports = { version: packageJson.version, applicationPort: "8787", - localMode, + devMode, DiscordRPCID: "1410934537051181146", configFeatures, featuresPath