mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-01-23 21:44:55 +03:00
fix: update normalize path
This commit is contained in:
parent
1bba8c84bd
commit
365178b06d
@ -30,4 +30,4 @@ export const isPortableVersion = () =>
|
|||||||
process.env.PORTABLE_EXECUTABLE_FILE !== null;
|
process.env.PORTABLE_EXECUTABLE_FILE !== null;
|
||||||
|
|
||||||
export const normalizePath = (str: string) =>
|
export const normalizePath = (str: string) =>
|
||||||
path.normalize(str.replace(/\\/g, "/"));
|
path.posix.normalize(str).replace(/\\/g, "/");
|
||||||
|
Loading…
Reference in New Issue
Block a user