mirror of
https://github.com/WowUp/WowUp.git
synced 2026-04-23 23:37:11 -04:00
Update main.ts
This commit is contained in:
@@ -41,6 +41,14 @@ log.transports.file.resolvePath = (variables: log.PathVariables) => {
|
||||
};
|
||||
log.info("Main starting");
|
||||
|
||||
process.on("uncaughtException", (error) => {
|
||||
log.error("uncaughtException", error);
|
||||
});
|
||||
|
||||
process.on("unhandledRejection", (error) => {
|
||||
log.error("unhandledRejection", error);
|
||||
});
|
||||
|
||||
app.setAppUserModelId("io.wowup.jliddev");
|
||||
|
||||
if (preferenceStore.get(USE_HARDWARE_ACCELERATION_PREFERENCE_KEY) === "false") {
|
||||
|
||||
Reference in New Issue
Block a user