mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-19 01:03:57 +00:00
feat: add darwin conditional for open-game-installer
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user