mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-11 13:56:16 +00:00
fix: update normalize path
This commit is contained in:
@@ -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, "/");
|
||||
|
||||
Reference in New Issue
Block a user