diff --git a/src/extraScripts/loghighlight.js b/src/extraScripts/loghighlight.js index b713f9e..dd60393 100644 --- a/src/extraScripts/loghighlight.js +++ b/src/extraScripts/loghighlight.js @@ -5,7 +5,9 @@ const readline = require("readline"); const args = process.argv; for ( let i = - process.argv[0].indexOf("node") > -1 || process.argv[0].indexOf("bun") > -1 + process.argv[0].indexOf("node") > -1 || + process.argv[0].indexOf("bun") > -1 || + process.argv[0].indexOf("deno") > -1 ? 2 : 1; i < args.length; diff --git a/src/extraScripts/logviewer.js b/src/extraScripts/logviewer.js index f02575e..44e4cb0 100644 --- a/src/extraScripts/logviewer.js +++ b/src/extraScripts/logviewer.js @@ -6,7 +6,9 @@ const readline = require("readline"); const args = process.argv; for ( let i = - process.argv[0].indexOf("node") > -1 || process.argv[0].indexOf("bun") > -1 + process.argv[0].indexOf("node") > -1 || + process.argv[0].indexOf("bun") > -1 || + process.argv[0].indexOf("deno") > -1 ? 2 : 1; i < args.length; diff --git a/src/extraScripts/svrpasswd.js b/src/extraScripts/svrpasswd.js index 25c6820..f87f7ea 100644 --- a/src/extraScripts/svrpasswd.js +++ b/src/extraScripts/svrpasswd.js @@ -299,7 +299,9 @@ if ( args.push("-h"); for ( let i = - process.argv[0].indexOf("node") > -1 || process.argv[0].indexOf("bun") > -1 + process.argv[0].indexOf("node") > -1 || + process.argv[0].indexOf("bun") > -1 || + process.argv[0].indexOf("deno") > -1 ? 2 : 1; i < args.length;