From e9b3022e53a949d0834d6e9b475f878eb4857f8d Mon Sep 17 00:00:00 2001 From: CanadaHonk Date: Sat, 10 Dec 2022 19:44:47 +0000 Subject: [PATCH] glugun: inherit stdio when running --- glugun/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/glugun/index.js b/glugun/index.js index 441f4a0..e12ebc3 100644 --- a/glugun/index.js +++ b/glugun/index.js @@ -64,7 +64,7 @@ const _buildWin32 = async (name, dir, attrs) => { indexContent = await readFile(join(buildDir, 'src', 'gluon', 'index.js'), 'utf8'); - indexContent = indexContent.replaceAll('GLUGUN_VERSION', '3.0') + indexContent = indexContent.replaceAll('GLUGUN_VERSION', '3.1') .replaceAll('SYSTEM_CHROMIUM', attrs.includes('system-chromium')) .replaceAll('SYSTEM_NODE', attrs.includes('system-node')); @@ -121,7 +121,8 @@ switch (cmd) { case 'run': await build(dir); - execSync(`.\\build\\${name}.bat`); + log('Running...'); + execSync(`.\\build\\${name}.bat`, { stdio: 'inherit' }); break; default: