Skip to content

Commit 2680d11

Browse files
authored
Use root drive as installation target for Microsoft PowerPoint app (#8)
2 parents d656b36 + d555f65 commit 2680d11

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31117,7 +31117,7 @@ async function installPowerPoint(installerPath) {
3111731117
core.startGroup('Install Microsoft PowerPoint');
3111831118
try {
3111931119
core.info('Installing Microsoft PowerPoint application...');
31120-
const exitCode = await exec.exec('sudo', ['installer', '-pkg', installerPath, '-target', '/Applications']);
31120+
const exitCode = await exec.exec('sudo', ['installer', '-pkg', installerPath, '-target', '/']);
3112131121
if (exitCode !== 0) {
3112231122
throw new Error(`Microsoft PowerPoint installation failed with code ${exitCode}.`);
3112331123
}

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ async function installPowerPoint(installerPath) {
7979
core.startGroup('Install Microsoft PowerPoint');
8080
try {
8181
core.info('Installing Microsoft PowerPoint application...');
82-
const exitCode = await exec.exec('sudo', ['installer', '-pkg', installerPath, '-target', '/Applications']);
82+
const exitCode = await exec.exec('sudo', ['installer', '-pkg', installerPath, '-target', '/']);
8383
if (exitCode !== 0) {
8484
throw new Error(`Microsoft PowerPoint installation failed with code ${exitCode}.`);
8585
}

0 commit comments

Comments
 (0)