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:
6
dist/index.js
vendored
6
dist/index.js
vendored
@@ -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);
|
||||
}
|
||||
|
||||
exec(`"%PROGRAMFILES(X86)%\\Inno Setup 6\\iscc.exe" ${options} "${workspacePath}/${path}"`, function (error, stdout, stderr) {
|
||||
} else {
|
||||
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!');
|
||||
|
||||
Reference in New Issue
Block a user