From d555f6568a36c4b8ab5acf778c503bd8130fdf23 Mon Sep 17 00:00:00 2001 From: Jozef Izso Date: Tue, 9 Dec 2025 20:45:16 +0100 Subject: [PATCH] Use root drive as installation target for Microsoft PowerPoint app --- dist/index.js | 2 +- src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 4fe50bc..5feb7ae 100644 --- a/dist/index.js +++ b/dist/index.js @@ -31117,7 +31117,7 @@ async function installPowerPoint(installerPath) { core.startGroup('Install Microsoft PowerPoint'); try { core.info('Installing Microsoft PowerPoint application...'); - const exitCode = await exec.exec('sudo', ['installer', '-pkg', installerPath, '-target', '/Applications']); + const exitCode = await exec.exec('sudo', ['installer', '-pkg', installerPath, '-target', '/']); if (exitCode !== 0) { throw new Error(`Microsoft PowerPoint installation failed with code ${exitCode}.`); } diff --git a/src/index.js b/src/index.js index e66c40c..69bd485 100644 --- a/src/index.js +++ b/src/index.js @@ -79,7 +79,7 @@ async function installPowerPoint(installerPath) { core.startGroup('Install Microsoft PowerPoint'); try { core.info('Installing Microsoft PowerPoint application...'); - const exitCode = await exec.exec('sudo', ['installer', '-pkg', installerPath, '-target', '/Applications']); + const exitCode = await exec.exec('sudo', ['installer', '-pkg', installerPath, '-target', '/']); if (exitCode !== 0) { throw new Error(`Microsoft PowerPoint installation failed with code ${exitCode}.`); }