1
0
mirror of https://github.com/Minionguyjpro/Inno-Setup-Action synced 2026-02-18 09:31:19 +01:00

Update index.js

This commit is contained in:
Minionguyjpro
2023-12-10 14:18:45 +01:00
committed by GitHub
parent 1ee5aa8906
commit 889046bfcf

4
dist/index.js vendored
View File

@@ -15,6 +15,10 @@ if (process.platform === 'win32') {
exec(`"%PROGRAMFILES(X86)%\\Inno Setup 6\\iscc.exe" ${options} "${workspacePath}\\${path}"`, function (error, stdout, stderr) { exec(`"%PROGRAMFILES(X86)%\\Inno Setup 6\\iscc.exe" ${options} "${workspacePath}\\${path}"`, function (error, stdout, stderr) {
console.log(stdout); console.log(stdout);
console.log(stderr); console.log(stderr);
if (error) {
const code = error.code || 1;
process.exit(code);
}
}); });
} else { } else {
const code = 1; const code = 1;