diff --git a/src/main/helpers/index.ts b/src/main/helpers/index.ts index e50b4422..db5569c8 100644 --- a/src/main/helpers/index.ts +++ b/src/main/helpers/index.ts @@ -30,4 +30,4 @@ export const isPortableVersion = () => process.env.PORTABLE_EXECUTABLE_FILE !== null; export const normalizePath = (str: string) => - path.normalize(str.replace(/\\/g, "/")); + path.posix.normalize(str).replace(/\\/g, "/");