Skip to content

Commit

Permalink
fix start podman-desktop on windows
Browse files Browse the repository at this point in the history
Signed-off-by: Yevhen Vydolob <[email protected]>
  • Loading branch information
evidolob committed Mar 9, 2023
1 parent afd8c46 commit 394d89f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ async function run() {
if(os.platform() === 'darwin') {
await exec('open', ['-W', '-a', path.resolve(desktopPath, 'dist', 'mac', 'Podman Desktop.app')]);
} else if(os.platform() === 'win32') {
await exec(path.resolve(desktopPath, 'dist', 'win-unpacked', 'Podman Desktop.exe'));
await exec(path.resolve(desktopPath, 'dist', 'win-unpacked', '"Podman Desktop.exe"'));
} else {
throw new Error('Cannot launch Podman Desktop on ' + os.platform());
}
Expand Down

0 comments on commit 394d89f

Please sign in to comment.