Skip to content

armgit / plexo

Public Imported from GitHub
0

Speed up downloads by combining multiple network connections in parallel

feat: add main process entry point for Electron application

Ambaliya Prashant Vrajlalc0c0f4513827
diff --git a/src/main/index.ts b/src/main/index.ts
index 5dd5d0c..f7d71d4 100644
--- a/src/main/index.ts
+++ b/src/main/index.ts
@@ -123,7 +123,7 @@ app.on('before-quit', (event) => {
if (quitAfterSuspending || !downloadManager) return
event.preventDefault()
-
+
// Guarantee the process exits even if suspending hangs
const forceQuitTimeout = setTimeout(() => {
app.exit(0)