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:
6
dist/index.js
vendored
6
dist/index.js
vendored
@@ -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!');
|
||||||
|
|||||||
Reference in New Issue
Block a user