fix: Fixed browser referencing main and getting called twice when in dev mode

This commit is contained in:
Simeon Radivoev 2026-03-25 22:14:45 +02:00
parent a78e75335f
commit 7c10f4e4c2
Signed by: simeonradivoev
GPG key ID: 7611A451D2A5D37A
4 changed files with 16 additions and 11 deletions

View file

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