fix(ags gsr): add timeout before starting gsr
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-04-07 16:18:43 -04:00
parent 22722c27c4
commit da0cbd6069
2 changed files with 5 additions and 5 deletions

View file

@ -17,7 +17,9 @@ App.config({
Brightness.capsName = 'input30::capslock';
globalThis.Brightness = Brightness;
globalThis.Pointers = Pointers;
globalThis.GSR = GSR;
setTimeout(() => {
globalThis.GSR = new GSR();
}, 1000);
},
windows: () => [

View file

@ -65,10 +65,8 @@ class GSR extends Service {
{},
Notifications.popupTimeout,
);
});
}).catch(logError);
}
}
const gsrService = new GSR();
export default gsrService;
export default GSR;