mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-03 17:39:42 +02:00
random
This commit is contained in:
+3
-1
@@ -31,6 +31,8 @@ def startDownload(_):
|
||||
download = aria2.add_magnet(magnet_uri)
|
||||
download_paused = False
|
||||
|
||||
def terminate():
|
||||
return
|
||||
|
||||
downloads_dir = os.path.join(os.path.expanduser("~"), "Downloads")
|
||||
|
||||
@@ -45,4 +47,4 @@ magnet_uri = "magnet:?xt=urn:btih:7FBF03CCC9115260DC50102E5A31E83E91422A79&dn=Re
|
||||
|
||||
keyboard.on_press_key("d", startDownload, suppress=False)
|
||||
keyboard.on_press_key("s", pauseDownload, suppress=False)
|
||||
keyboard.wait("q", pauseDownload)
|
||||
keyboard.on_press_key("q", pauseDownload, terminate)
|
||||
|
||||
Reference in New Issue
Block a user