From 9af7dfaa070ef91d89681fd94c1c68f4b656047b Mon Sep 17 00:00:00 2001 From: Minionguyjpro Date: Tue, 11 Jul 2023 11:28:27 +0200 Subject: [PATCH] Update index.js --- dist/index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dist/index.js b/dist/index.js index cfde3aa..80e7332 100644 --- a/dist/index.js +++ b/dist/index.js @@ -13,12 +13,12 @@ if (process.platform === 'win32') { const code = 1; console.error('Error: The repository was not cloned. Please specify the actions/checkout action before this step.'); process.exit(code); + } else { + exec(`"%PROGRAMFILES(X86)%\\Inno Setup 6\\iscc.exe" ${options} "${workspacePath}\\${path}"`, function (error, stdout, stderr) { + console.log(stdout); + console.log(stderr); + }); } - - exec(`"%PROGRAMFILES(X86)%\\Inno Setup 6\\iscc.exe" ${options} "${workspacePath}/${path}"`, function (error, stdout, stderr) { - console.log(stdout); - console.log(stderr); - }); } else { const code = 1; console.error('Error: This action is only supported on Windows!');