fix SteamOS check
This commit is contained in:
parent
2d186dba76
commit
68e1d3b99a
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ export class AppEvents {
|
|||
if (process.platform === "linux") {
|
||||
app.commandLine.appendSwitch("disable-features", "MediaSessionService");
|
||||
|
||||
if (os.version().indexOf("SteamOS")) {
|
||||
if (os.version().includes("SteamOS")) {
|
||||
app.commandLine.appendSwitch("enable-features", "UseOzonePlatform");
|
||||
app.commandLine.appendSwitch("ozone-platform", "x11");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue