feat: reducing http downloads duplicate

This commit is contained in:
Chubby Granny Chaser 2024-08-17 21:43:56 +01:00
parent d098887c51
commit bbe68a0aff
No known key found for this signature in database
6 changed files with 64 additions and 163 deletions

View file

@ -20,8 +20,6 @@ autoUpdater.setFeedURL({
autoUpdater.logger = logger;
logger.log("Init Hydra");
const gotTheLock = app.requestSingleInstanceLock();
if (!gotTheLock) app.quit();
@ -123,7 +121,6 @@ app.on("window-all-closed", () => {
app.on("before-quit", () => {
/* Disconnects libtorrent */
PythonInstance.kill();
logger.log("Quit Hydra");
});
app.on("activate", () => {