mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (process.platform === "darwin") {
|
||||||
|
shell.openPath(gamePath);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
if (fs.lstatSync(gamePath).isFile()) {
|
if (fs.lstatSync(gamePath).isFile()) {
|
||||||
return executeGameInstaller(gamePath);
|
return executeGameInstaller(gamePath);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue