Skip to content

Commit

Permalink
fix: path win32
Browse files Browse the repository at this point in the history
  • Loading branch information
hrenaud committed Sep 30, 2024
1 parent a8a3ffb commit 14cea60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/handlers/HandleCollectAll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export async function _prepareCollect(): Promise<{

if (os.platform() === `win32`) {
nodeDir = nodeDir.replace(/\\/gm, path.sep)
scriptPath = scriptPath.replace(/\\/gm, `\\\\`)
scriptPath = scriptPath.replace(/\\/gm, path.sep)
}
const command = [scriptPath, 'collect']
mainLog.log(`command`, command) // change to debug
Expand Down

0 comments on commit 14cea60

Please sign in to comment.