Stop aria2c if Xcodes stops

I removed this because I thought it wasn't necessary for some reason. We do send a SIGTERM if the user cancels the installation (via subscription cancellation), but if the whole app quits aria2c would keep running in the background.
This commit is contained in:
Brandon Evans 2021-01-12 20:51:00 -07:00
parent 10a96ddfa3
commit 0295bc8b1b
No known key found for this signature in database
GPG key ID: D58A4B8DB64F8E93

View file

@ -43,6 +43,7 @@ public struct Shell {
"--max-connection-per-server=16",
"--split=16",
"--summary-interval=1",
"--stop-with-process=\(ProcessInfo.processInfo.processIdentifier)",
"--dir=\(destination.parent.string)",
"--out=\(destination.basename())",
url.absoluteString,