Skip to content

Commit

Permalink
Merge pull request #1372 from pau-tomas/fix/win-build-rom
Browse files Browse the repository at this point in the history
Construct rom path instead of using string
  • Loading branch information
chrismaltby authored Apr 2, 2024
2 parents d796b13 + 9802c49 commit d75f553
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@ ipcMain.handle(
`${outputRoot}/build/${buildType}`,
`${projectRoot}/build/${buildType}`
);
shell.openPath(`${projectRoot}/build/${buildType}`);
shell.openPath(Path.join(projectRoot, "build", buildType));
buildLog(`-`);
buildLog(
`Success! ${
Expand Down Expand Up @@ -1232,7 +1232,7 @@ ipcMain.handle(
warnings,
});

const exportRoot = `${projectRoot}/build/src`;
const exportRoot = Path.join(projectRoot, "build", "src");

if (exportType === "data") {
const dataSrcTmpPath = Path.join(outputRoot, "src", "data");
Expand Down

0 comments on commit d75f553

Please sign in to comment.