fix(ags gsr): add timeout before starting gsr
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
22722c27c4
commit
da0cbd6069
2 changed files with 5 additions and 5 deletions
|
@ -17,7 +17,9 @@ App.config({
|
||||||
Brightness.capsName = 'input30::capslock';
|
Brightness.capsName = 'input30::capslock';
|
||||||
globalThis.Brightness = Brightness;
|
globalThis.Brightness = Brightness;
|
||||||
globalThis.Pointers = Pointers;
|
globalThis.Pointers = Pointers;
|
||||||
globalThis.GSR = GSR;
|
setTimeout(() => {
|
||||||
|
globalThis.GSR = new GSR();
|
||||||
|
}, 1000);
|
||||||
},
|
},
|
||||||
|
|
||||||
windows: () => [
|
windows: () => [
|
||||||
|
|
|
@ -65,10 +65,8 @@ class GSR extends Service {
|
||||||
{},
|
{},
|
||||||
Notifications.popupTimeout,
|
Notifications.popupTimeout,
|
||||||
);
|
);
|
||||||
});
|
}).catch(logError);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const gsrService = new GSR();
|
export default GSR;
|
||||||
|
|
||||||
export default gsrService;
|
|
||||||
|
|
Loading…
Reference in a new issue