mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-07-29 18:25:47 +02:00
Fix: App Not Stopping correctly + Better Logs for end :)
This commit is contained in:
6
main.js
6
main.js
@@ -263,10 +263,12 @@ app.whenReady().then(async () => {
|
||||
});
|
||||
|
||||
app.on("window-all-closed", () => {
|
||||
logger.info("All Window Closed, shuting down app");
|
||||
logger.info("Shuting Down App...");
|
||||
app.quit();
|
||||
});
|
||||
|
||||
app.on("before-quit", () => {
|
||||
logSessionEnd()
|
||||
stopRPC()
|
||||
logger.info("All Services Stopped. Have a nice day!")
|
||||
logSessionEnd()
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user