mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: add logs
This commit is contained in:
parent
46b12f2bc2
commit
198a283752
3 changed files with 26 additions and 5 deletions
|
@ -20,6 +20,8 @@ autoUpdater.setFeedURL({
|
|||
|
||||
autoUpdater.logger = logger;
|
||||
|
||||
logger.log("Init Hydra");
|
||||
|
||||
const gotTheLock = app.requestSingleInstanceLock();
|
||||
if (!gotTheLock) app.quit();
|
||||
|
||||
|
@ -121,6 +123,7 @@ app.on("window-all-closed", () => {
|
|||
app.on("before-quit", () => {
|
||||
/* Disconnects libtorrent */
|
||||
PythonInstance.kill();
|
||||
logger.log("Quit Hydra");
|
||||
});
|
||||
|
||||
app.on("activate", () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue