From 415d47a9e562d3e76ff39c7f5795160328f8e0e2 Mon Sep 17 00:00:00 2001 From: Pierce Thompson Date: Sun, 16 Jun 2024 23:59:37 -0400 Subject: [PATCH] Don't try to start the game as admin on linux Isn't supported --- src/main/services/bs-launcher/steam-launcher.service.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/services/bs-launcher/steam-launcher.service.ts b/src/main/services/bs-launcher/steam-launcher.service.ts index 65e0a93e..c1f38cd8 100644 --- a/src/main/services/bs-launcher/steam-launcher.service.ts +++ b/src/main/services/bs-launcher/steam-launcher.service.ts @@ -115,6 +115,11 @@ export class SteamLauncherService extends AbstractLauncherService implements Sto // Linux setup if (process.platform === "linux") { + if (launchOptions.admin == true) { + log.warn("Launching as admin is not supported on Linux! Starting the game as a normal user."); + launchOptions.admin = false; + } + // Create the compat data path if it doesn't exist. // If the user never ran Beat Saber through steam before // using bsmanager, it won't exist, and proton will fail