mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: update normalize path
This commit is contained in:
parent
1bba8c84bd
commit
365178b06d
1 changed files with 1 additions and 1 deletions
|
@ -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, "/");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue