Skip to content

Commit fec13a7

Browse files
committed
Fixed error causing SettingsView to not load
1 parent 4f92732 commit fec13a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/settings-components/SettingsView.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import { State } from '../../store';
1919
import VueRouter from 'vue-router';
2020
import {getLaunchType, LaunchType} from "../../model/real_enums/launch/LaunchType";
2121
import {LaunchTypeModalOpen} from "../../components/modals/launch-type/LaunchTypeRefs";
22+
import appWindow from '../../providers/node/app/app_window';
2223
2324
const store = getStore<State>();
2425
let router!: VueRouter;
@@ -342,7 +343,7 @@ onMounted(async () => {
342343
)
343344
}
344345
345-
if (['linux', 'darwin'].includes(process.platform) && activeGame.value.activePlatform.storePlatform === Platform.STEAM) {
346+
if (['linux', 'darwin'].includes(appWindow.getPlatform()) && activeGame.value.activePlatform.storePlatform === Platform.STEAM) {
346347
settingsList.push(
347348
new SettingsRow(
348349
'Debugging',

0 commit comments

Comments
 (0)