-
Notifications
You must be signed in to change notification settings - Fork 0
Description
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 /
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request