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

Update index.js

This commit is contained in:
Minionguyjpro
2023-07-11 11:28:27 +02:00
committed by GitHub
parent fd2113f797
commit 9af7dfaa07

6
dist/index.js vendored
View File

@@ -13,12 +13,12 @@ if (process.platform === 'win32') {
const code = 1; const code = 1;
console.error('Error: The repository was not cloned. Please specify the actions/checkout action before this step.'); console.error('Error: The repository was not cloned. Please specify the actions/checkout action before this step.');
process.exit(code); process.exit(code);
} } else {
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);
}); });
}
} else { } else {
const code = 1; const code = 1;
console.error('Error: This action is only supported on Windows!'); console.error('Error: This action is only supported on Windows!');