Problem
The installPowerPoint() function uses an incorrect -target parameter value when running the macOS installer command.
Current code (src/index.js:82):
const exitCode = await exec.exec('sudo', ['installer', '-pkg', installerPath, '-target', '/Applications']);
The -target /Applications is incorrect. The -target parameter should specify the target volume/disk, not a directory path.
Solution
Change the target to the root volume:
const exitCode = await exec.exec('sudo', ['installer', '-pkg', installerPath, '-target', '/']);
The installer package itself knows to place the application in /Applications. The -target parameter should point to the root volume where the installation should occur.
Impact
This bug may cause installation failures on GitHub Actions runners. This is a critical bug that must be fixed before v1.0.0 release.
References
- Apple installer man page:
man installer
- Typical usage:
sudo installer -pkg package.pkg -target /
Problem
The
installPowerPoint()function uses an incorrect-targetparameter value when running the macOSinstallercommand.Current code (src/index.js:82):
The
-target /Applicationsis incorrect. The-targetparameter should specify the target volume/disk, not a directory path.Solution
Change the target to the root volume:
The installer package itself knows to place the application in
/Applications. The-targetparameter should point to the root volume where the installation should occur.Impact
This bug may cause installation failures on GitHub Actions runners. This is a critical bug that must be fixed before v1.0.0 release.
References
man installersudo installer -pkg package.pkg -target /