mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-13 11:42:10 +00:00
feat: add darwin conditional for open-game-installer
This commit is contained in:
parent
89464f4d3e
commit
5528330265
1 changed files with 5 additions and 0 deletions
|
@ -44,6 +44,11 @@ const openGameInstaller = async (
|
|||
return true;
|
||||
}
|
||||
|
||||
if (process.platform === "darwin") {
|
||||
shell.openPath(gamePath);
|
||||
return true;
|
||||
}
|
||||
|
||||
if (fs.lstatSync(gamePath).isFile()) {
|
||||
return executeGameInstaller(gamePath);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue