fix: rename localMode => devMode for clarity

This commit is contained in:
MasterAcnolo
2026-05-29 07:42:38 +02:00
parent 0f876fcb70
commit ac94d68224
3 changed files with 5 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ app.setName("Freedom Loader");
app.setAppUserModelId("com.masteracnolo.freedomloader");
app.disableHardwareAcceleration();
if (!config.localMode) {
if (!config.devMode) {
const gotLock = app.requestSingleInstanceLock();
if (gotLock) {
app.on("second-instance", () => {
@@ -45,7 +45,7 @@ app.whenReady().then(async () => {
createSplashWindow();
if (!config.localMode && !checkNativeDependencies()) return;
if (!config.devMode && !checkNativeDependencies()) return;
const { userYtDlp } = require("./server/helpers/path.helpers");
updateYtDlp(userYtDlp);