A full-featured download manager.
build: Update Windows aria2 executables
149segolte7688115bd4a3
diff --git a/extra/win32/engine/aria2.conf b/extra/win/ia32/engine/aria2.confsimilarity index 100%rename from extra/win32/engine/aria2.confrename to extra/win/ia32/engine/aria2.confdiff --git a/extra/win32/engine/aria2c.exe b/extra/win/ia32/engine/aria2c.exeold mode 100755new mode 100644similarity index 100%rename from extra/win32/engine/aria2c.exerename to extra/win/ia32/engine/aria2c.exediff --git a/extra/win/x64/engine/aria2.conf b/extra/win/x64/engine/aria2.confnew file mode 100644index 00000000..825d3296--- /dev/null+++ b/extra/win/x64/engine/aria2.conf@@ -0,0 +1,75 @@+###############################+# Motrix Windows Aria2 config file+#+# @see https://aria2.github.io/manual/en/html/aria2c.html+#+###############################+++################ RPC ################+# Enable JSON-RPC/XML-RPC server.+enable-rpc=true+# Add Access-Control-Allow-Origin header field with value * to the RPC response.+rpc-allow-origin-all=true+# Listen incoming JSON-RPC/XML-RPC requests on all network interfaces.+rpc-listen-all=true+++################ File system ################+# Save a control file(*.aria2) every SEC seconds.+auto-save-interval=10+# Enable disk cache.+disk-cache=32M+# Specify file allocation method.+file-allocation=falloc+# Save error/unfinished downloads to a file specified by --save-session option every SEC seconds.+save-session-interval=10+++################ Task ################+# Exclude seed only downloads when counting concurrent active downloads+bt-detach-seed-only=true+# Verify the peer using certificates specified in --ca-certificate option.+check-certificate=false+# If aria2 receives "file not found" status from the remote HTTP/FTP servers NUM times+# without getting a single byte, then force the download to fail.+max-file-not-found=5+# Set number of tries.+max-tries=5+# aria2 does not split less than 2*SIZE byte range.+min-split-size=1M+# Set user agent for HTTP(S) downloads.+user-agent=Transmission/2.94+# Send Accept: deflate, gzip request header+http-accept-gzip=true+++################ BT Task ################+# Enable Local Peer Discovery.+bt-enable-lpd=true+# Requires BitTorrent message payload encryption with arc4.+# bt-force-encryption=true+# If true is given, after hash check using --check-integrity option and file is complete, continue to seed file.+bt-hash-check-seed=true+# Specify the maximum number of peers per torrent.+bt-max-peers=255+# Try to download first and last pieces of each file first. This is useful for previewing files.+bt-prioritize-piece=head+# Removes the unselected files when download is completed in BitTorrent.+bt-remove-unselected-file=true+# Seed previously downloaded files without verifying piece hashes.+bt-seed-unverified=true+# Set host and port as an entry point to IPv4 DHT network.+dht-entry-point=dht.transmissionbt.com:6881+# Set host and port as an entry point to IPv6 DHT network.+dht-entry-point6=dht.transmissionbt.com:6881+# Enable IPv4 DHT functionality. It also enables UDP tracker support.+enable-dht=true+# Enable IPv6 DHT functionality.+enable-dht6=true+# Enable Peer Exchange extension.+enable-peer-exchange=true+# Specify the string used during the bitorrent extended handshake for the peer's client version.+peer-agent=Transmission/2.94+# Specify the prefix of peer ID.+peer-id-prefix=-TR2940-diff --git a/extra/win/x64/engine/aria2c.exe b/extra/win/x64/engine/aria2c.exenew file mode 100644index 00000000..b4195930Binary files /dev/null and b/extra/win/x64/engine/aria2c.exe differdiff --git a/package.json b/package.jsonindex 79ee2d9f..481e88c2 100644--- a/package.json+++ b/package.json@@ -144,7 +144,7 @@}],"extraResources": {- "from": "./extra/win32/",+ "from": "./extra/win/${arch}/","to": "./","filter": ["**/*"