fix: Fixed browser referencing main and getting called twice when in dev mode
This commit is contained in:
parent
a78e75335f
commit
7c10f4e4c2
4 changed files with 16 additions and 11 deletions
|
|
@ -49,7 +49,10 @@ function spawnBrowser ()
|
|||
try
|
||||
{
|
||||
|
||||
return browser(events, process.env.FORCE_BROWSER === "true", { configPath: path.join(tmpdir(), 'gameflow') });
|
||||
return browser(events, process.env.FORCE_BROWSER === "true", {
|
||||
configPath: path.join(tmpdir(), 'gameflow'),
|
||||
isSteamDeckGameMode: false
|
||||
});
|
||||
} catch (error)
|
||||
{
|
||||
console.error(error);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue