diff options
-rw-r--r-- | package.json | 3 | ||||
-rw-r--r-- | src/cli.js | 2 | ||||
-rw-r--r-- | src/index.js | 4 | ||||
-rw-r--r-- | src/lang/de.json | 2 | ||||
-rw-r--r-- | src/lang/en.json | 2 | ||||
-rw-r--r-- | src/lang/es.json | 2 | ||||
-rw-r--r-- | src/lang/fr.json | 2 |
7 files changed, 9 insertions, 8 deletions
diff --git a/package.json b/package.json index 5bbbe28..bb15d1c 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,8 @@ "scripts": { "langs": "node build/langs.js", "start": "npx electron src/index.js", - "debug": "npx electron src/index.js --debug", + "debug": "npm run devtools", + "devtools": "npx electron src/index.js --devtools", "build": "npx electron-builder --win nsis --win portable --linux --publish never", "build:windows": "npx electron-builder --win nsis --win portable --publish never", "build:linux": "npx electron-builder --linux --publish never", @@ -59,8 +59,8 @@ async function init() { if (cli.hasSwitch("help")) { console.log(`options: --help ${lang("cli.help.help")} - --debug ${lang("cli.help.debug")} --version ${lang("cli.help.version")} + --devtools ${lang("cli.help.devtools")} --cli ${lang("cli.help.cli")} --update ${lang("cli.help.update")} diff --git a/src/index.js b/src/index.js index ba08056..b654f84 100644 --- a/src/index.js +++ b/src/index.js @@ -35,8 +35,8 @@ function start() { }, }); - // when --debug is added it'll open the dev tools - if (cli.hasParam("debug")) {win.openDevTools()} + // when --devtools is added it'll open the dev tools + if (cli.hasParam("devtools")) {win.openDevTools()} // general setup win.removeMenu(); diff --git a/src/lang/de.json b/src/lang/de.json index 03ad0c4..305176b 100644 --- a/src/lang/de.json +++ b/src/lang/de.json @@ -2,7 +2,7 @@ "lang.title": "German - Deutsch", "cli.help.help": "Zeigt die Hilfe Nachricht an.", - "cli.help.debug": "Öffnet Entwickler/Debug Werkzeuge.", + "cli.help.devtools": "Öffnet Entwickler/Debug Werkzeuge.", "cli.help.version": "Gibt die Versions Informationen aus.", "cli.help.cli": "Zwingt die CLI Einstellung auf \"an\".", "cli.help.update": "Aktualisiert den Installationspfad von Northstar, durch den gegeben Installationspfad von Titanfall 2.", diff --git a/src/lang/en.json b/src/lang/en.json index 4ba077a..e383249 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -2,7 +2,7 @@ "lang.title": "English", "cli.help.help": "shows this help message", - "cli.help.debug": "opens the dev/debug tools", + "cli.help.devtools": "opens the dev/debug tools", "cli.help.version": "outputs version info", "cli.help.cli": "forces the CLI to enable", "cli.help.update": "updates Northstar from your set game path", diff --git a/src/lang/es.json b/src/lang/es.json index bf109c1..b8b406b 100644 --- a/src/lang/es.json +++ b/src/lang/es.json @@ -2,7 +2,7 @@ "lang.title": "Spanish - Español", "cli.help.help": "muestra este mensaje de ayuda", - "cli.help.debug": "habre las herramientas de desarrollador/depuración ", + "cli.help.devtools": "habre las herramientas de desarrollador/depuración ", "cli.help.version": "muestra la información de la versión", "cli.help.cli": "obliga la linea de comandos a habilitarse", "cli.help.update": "actualiza Northstar desde la ruta de juego establecida", diff --git a/src/lang/fr.json b/src/lang/fr.json index 6481a8b..a1f27a4 100644 --- a/src/lang/fr.json +++ b/src/lang/fr.json @@ -2,7 +2,7 @@ "lang.title": "French - Français", "cli.help.help": "affiche ce message d'aide", - "cli.help.debug": "affiche les outils de développement", + "cli.help.devtools": "affiche les outils de développement", "cli.help.version": "retourne des informations sur la version du logiciel", "cli.help.cli": "force l'activation de la CLI", "cli.help.update": "met à jour Northstar sur le chemin du jeu précisé", |