mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-24 01:03:50 +02:00
"Fix" overlay init on Linux
This commit is contained in:
@@ -15,6 +15,7 @@ import { useUserStore } from './user';
|
||||
import { useVrcxStore } from './vrcx';
|
||||
import { useVRCXUpdaterStore } from './vrcxUpdater';
|
||||
import { useGroupStore } from './group';
|
||||
import { useVrStore } from './vr';
|
||||
|
||||
export const useUpdateLoopStore = defineStore('UpdateLoop', () => {
|
||||
const state = reactive({
|
||||
@@ -67,6 +68,7 @@ export const useUpdateLoopStore = defineStore('UpdateLoop', () => {
|
||||
const vrcxUpdaterStore = useVRCXUpdaterStore();
|
||||
const uiStore = useUiStore();
|
||||
const groupStore = useGroupStore();
|
||||
const vrStore = useVrStore();
|
||||
try {
|
||||
if (watchState.isLoggedIn) {
|
||||
if (--state.nextCurrentUserRefresh <= 0) {
|
||||
@@ -143,6 +145,7 @@ export const useUpdateLoopStore = defineStore('UpdateLoop', () => {
|
||||
await AppApi.IsSteamVRRunning(),
|
||||
false
|
||||
);
|
||||
vrStore.vrInit(); // TODO: make this event based
|
||||
}
|
||||
}
|
||||
if (--state.nextDatabaseOptimize <= 0) {
|
||||
|
||||
Reference in New Issue
Block a user