feat: add darwin conditional for open-game-installer

This commit is contained in:
Zamitto 2024-05-31 16:26:43 -03:00
parent 89464f4d3e
commit 5528330265

View file

@ -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);
}