Merge pull request #555 from Insprill/fix/linux-admin

Fix Steam elevated check on Linux
This commit is contained in:
MathieuG-P
2024-08-12 19:10:34 +02:00
committed by GitHub
-1
View File
@@ -52,7 +52,6 @@ export class SteamService {
* @returns true if the Steam process is running as administrator
*/
public async isElevated(): Promise<boolean>{
if(process.platform === "linux"){ return true; }
const steamPid = await this.getSteamPid();
if(!steamPid){ return false; }