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

Fix Steam elevated check on Linux
This commit is contained in:
MathieuG-P
2024-03-29 03:35:18 +01: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; }