From 68d04a3307692e8e529270b199782339bc4f235f Mon Sep 17 00:00:00 2001 From: Cris Stringfellow <22254235+crislin2046@users.noreply.github.com> Date: Sun, 23 Jul 2023 10:23:25 +0800 Subject: [PATCH] 3.0.6xx new version with fixes for global install --- global-run.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global-run.cjs b/global-run.cjs index 0dec1cc..cce1fab 100755 --- a/global-run.cjs +++ b/global-run.cjs @@ -18,5 +18,5 @@ const memoryAllocation = Math.floor((totalMemory / (1024 * 1024)) * 0.8); // Con console.log(`Index can use up to: ${memoryAllocation}MB RAM`); // Running the application -spawn('node', [`--max-old-space-size=${memoryAllocation}`, path.resolve(__dirname, 'build', 'diskernet.mjs')], { stdio: 'inherit' }); +spawn('node', [`--max-old-space-size=${memoryAllocation}`, path.resolve(__dirname, 'build', 'diskernet.cjs')], { stdio: 'inherit' });