mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: reducing http downloads duplicate
This commit is contained in:
parent
d098887c51
commit
bbe68a0aff
6 changed files with 64 additions and 163 deletions
|
@ -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", () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue