A full-featured download manager.
refactor: update some aria2 default conf (#1425)
Dr_rOote3da125cc774
diff --git a/extra/darwin/arm64/engine/aria2.conf b/extra/darwin/arm64/engine/aria2.confindex d538e5e4..932dd750 100644--- a/extra/darwin/arm64/engine/aria2.conf+++ b/extra/darwin/arm64/engine/aria2.conf@@ -19,9 +19,11 @@ rpc-listen-all=true# Save a control file(*.aria2) every SEC seconds.auto-save-interval=10# Enable disk cache.-disk-cache=32M+disk-cache=64M# Specify file allocation method.file-allocation=none+# No file allocation is made for files whose size is smaller than SIZE+no-file-allocation-limit=64M# Save error/unfinished downloads to a file specified by --save-session option every SEC seconds.save-session-interval=10@@ -33,13 +35,25 @@ bt-detach-seed-only=truecheck-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+max-file-not-found=10# Set number of tries.-max-tries=5+max-tries=0+# Set the seconds to wait between retries. When SEC > 0, aria2 will retry downloads when the HTTP server returns a 503 response.+retry-wait=10+# Set the connect timeout in seconds to establish connection to HTTP/FTP/proxy server. After the connection is established, this option makes no effect and --timeout option is used instead.+connect-timeout=10+# Set timeout in seconds.+timeout=10# aria2 does not split less than 2*SIZE byte range.min-split-size=1M-# Send Accept: deflate, gzip request header+# Send Accept: deflate, gzip request header.http-accept-gzip=true+# Retrieve timestamp of the remote file from the remote HTTP/FTP server and if it is available, apply it to the local file.+remote-time=true+# Set interval in seconds to output download progress summary. Setting 0 suppresses the output.+summary-interval=0+# Handle quoted string in Content-Disposition header as UTF-8 instead of ISO-8859-1, for example, the filename parameter, but not the extended version filename*.+content-disposition-default-utf8=true################ BT Task ################@@ -50,13 +64,17 @@ bt-enable-lpd=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+bt-max-peers=128# 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+bt-seed-unverified=false+# Set the connect timeout in seconds to establish connection to tracker. After the connection is established, this option makes no effect and --bt-tracker-timeout option is used instead.+bt-tracker-connect-timeout=10+# Set timeout in seconds.+bt-tracker-timeout=10# 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.diff --git a/extra/darwin/x64/engine/aria2.conf b/extra/darwin/x64/engine/aria2.confindex b5574fd6..932dd750 100644--- a/extra/darwin/x64/engine/aria2.conf+++ b/extra/darwin/x64/engine/aria2.conf@@ -19,9 +19,11 @@ rpc-listen-all=true# Save a control file(*.aria2) every SEC seconds.auto-save-interval=10# Enable disk cache.-disk-cache=32M+disk-cache=64M# Specify file allocation method.file-allocation=none+# No file allocation is made for files whose size is smaller than SIZE+no-file-allocation-limit=64M# Save error/unfinished downloads to a file specified by --save-session option every SEC seconds.save-session-interval=10@@ -33,13 +35,25 @@ bt-detach-seed-only=truecheck-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+max-file-not-found=10# Set number of tries.-max-tries=5+max-tries=0+# Set the seconds to wait between retries. When SEC > 0, aria2 will retry downloads when the HTTP server returns a 503 response.+retry-wait=10+# Set the connect timeout in seconds to establish connection to HTTP/FTP/proxy server. After the connection is established, this option makes no effect and --timeout option is used instead.+connect-timeout=10+# Set timeout in seconds.+timeout=10# aria2 does not split less than 2*SIZE byte range.min-split-size=1M-# Send Accept: deflate, gzip request header+# Send Accept: deflate, gzip request header.http-accept-gzip=true+# Retrieve timestamp of the remote file from the remote HTTP/FTP server and if it is available, apply it to the local file.+remote-time=true+# Set interval in seconds to output download progress summary. Setting 0 suppresses the output.+summary-interval=0+# Handle quoted string in Content-Disposition header as UTF-8 instead of ISO-8859-1, for example, the filename parameter, but not the extended version filename*.+content-disposition-default-utf8=true################ BT Task ################@@ -50,13 +64,17 @@ bt-enable-lpd=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+bt-max-peers=128# 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+bt-seed-unverified=false+# Set the connect timeout in seconds to establish connection to tracker. After the connection is established, this option makes no effect and --bt-tracker-timeout option is used instead.+bt-tracker-connect-timeout=10+# Set timeout in seconds.+bt-tracker-timeout=10# 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.@@ -70,4 +88,4 @@ enable-peer-exchange=true# Specify the string used during the bitorrent extended handshake for the peer's client version.peer-agent=Transmission/3.00# Specify the prefix of peer ID.-peer-id-prefix=-TR2940-+peer-id-prefix=-TR3000-diff --git a/extra/linux/engine/aria2.conf b/extra/linux/engine/aria2.confindex e97e4b7e..2dd6af55 100644--- a/extra/linux/engine/aria2.conf+++ b/extra/linux/engine/aria2.conf@@ -19,9 +19,11 @@ rpc-listen-all=true# Save a control file(*.aria2) every SEC seconds.auto-save-interval=10# Enable disk cache.-disk-cache=32M+disk-cache=64M# Specify file allocation method.file-allocation=trunc+# No file allocation is made for files whose size is smaller than SIZE+no-file-allocation-limit=64M# Save error/unfinished downloads to a file specified by --save-session option every SEC seconds.save-session-interval=10@@ -33,13 +35,25 @@ bt-detach-seed-only=truecheck-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+max-file-not-found=10# Set number of tries.-max-tries=5+max-tries=0+# Set the seconds to wait between retries. When SEC > 0, aria2 will retry downloads when the HTTP server returns a 503 response.+retry-wait=10+# Set the connect timeout in seconds to establish connection to HTTP/FTP/proxy server. After the connection is established, this option makes no effect and --timeout option is used instead.+connect-timeout=10+# Set timeout in seconds.+timeout=10# aria2 does not split less than 2*SIZE byte range.min-split-size=1M-# Send Accept: deflate, gzip request header+# Send Accept: deflate, gzip request header.http-accept-gzip=true+# Retrieve timestamp of the remote file from the remote HTTP/FTP server and if it is available, apply it to the local file.+remote-time=true+# Set interval in seconds to output download progress summary. Setting 0 suppresses the output.+summary-interval=0+# Handle quoted string in Content-Disposition header as UTF-8 instead of ISO-8859-1, for example, the filename parameter, but not the extended version filename*.+content-disposition-default-utf8=true################ BT Task ################@@ -50,13 +64,17 @@ bt-enable-lpd=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+bt-max-peers=128# 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+bt-seed-unverified=false+# Set the connect timeout in seconds to establish connection to tracker. After the connection is established, this option makes no effect and --bt-tracker-timeout option is used instead.+bt-tracker-connect-timeout=10+# Set timeout in seconds.+bt-tracker-timeout=10# 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.@@ -70,4 +88,4 @@ enable-peer-exchange=true# Specify the string used during the bitorrent extended handshake for the peer's client version.peer-agent=Transmission/3.00# Specify the prefix of peer ID.-peer-id-prefix=-TR2940-+peer-id-prefix=-TR3000-diff --git a/extra/win32/ia32/engine/aria2.conf b/extra/win32/ia32/engine/aria2.confindex cf6fa5f8..43535191 100644--- a/extra/win32/ia32/engine/aria2.conf+++ b/extra/win32/ia32/engine/aria2.conf@@ -19,9 +19,11 @@ rpc-listen-all=true# Save a control file(*.aria2) every SEC seconds.auto-save-interval=10# Enable disk cache.-disk-cache=32M+disk-cache=64M# Specify file allocation method.file-allocation=none+# No file allocation is made for files whose size is smaller than SIZE+no-file-allocation-limit=64M# Save error/unfinished downloads to a file specified by --save-session option every SEC seconds.save-session-interval=10@@ -33,13 +35,25 @@ bt-detach-seed-only=truecheck-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+max-file-not-found=10# Set number of tries.-max-tries=5+max-tries=0+# Set the seconds to wait between retries. When SEC > 0, aria2 will retry downloads when the HTTP server returns a 503 response.+retry-wait=10+# Set the connect timeout in seconds to establish connection to HTTP/FTP/proxy server. After the connection is established, this option makes no effect and --timeout option is used instead.+connect-timeout=10+# Set timeout in seconds.+timeout=10# aria2 does not split less than 2*SIZE byte range.min-split-size=1M-# Send Accept: deflate, gzip request header+# Send Accept: deflate, gzip request header.http-accept-gzip=true+# Retrieve timestamp of the remote file from the remote HTTP/FTP server and if it is available, apply it to the local file.+remote-time=true+# Set interval in seconds to output download progress summary. Setting 0 suppresses the output.+summary-interval=0+# Handle quoted string in Content-Disposition header as UTF-8 instead of ISO-8859-1, for example, the filename parameter, but not the extended version filename*.+content-disposition-default-utf8=true################ BT Task ################@@ -50,13 +64,17 @@ bt-enable-lpd=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+bt-max-peers=128# 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+bt-seed-unverified=false+# Set the connect timeout in seconds to establish connection to tracker. After the connection is established, this option makes no effect and --bt-tracker-timeout option is used instead.+bt-tracker-connect-timeout=10+# Set timeout in seconds.+bt-tracker-timeout=10# 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.@@ -70,4 +88,4 @@ enable-peer-exchange=true# Specify the string used during the bitorrent extended handshake for the peer's client version.peer-agent=Transmission/3.00# Specify the prefix of peer ID.-peer-id-prefix=-TR2940-+peer-id-prefix=-TR3000-diff --git a/extra/win32/x64/engine/aria2.conf b/extra/win32/x64/engine/aria2.confindex 9094423b..52ccfd04 100644--- a/extra/win32/x64/engine/aria2.conf+++ b/extra/win32/x64/engine/aria2.conf@@ -19,9 +19,11 @@ rpc-listen-all=true# Save a control file(*.aria2) every SEC seconds.auto-save-interval=10# Enable disk cache.-disk-cache=32M+disk-cache=64M# Specify file allocation method.file-allocation=falloc+# No file allocation is made for files whose size is smaller than SIZE+no-file-allocation-limit=64M# Save error/unfinished downloads to a file specified by --save-session option every SEC seconds.save-session-interval=10@@ -33,13 +35,25 @@ bt-detach-seed-only=truecheck-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+max-file-not-found=10# Set number of tries.-max-tries=5+max-tries=0+# Set the seconds to wait between retries. When SEC > 0, aria2 will retry downloads when the HTTP server returns a 503 response.+retry-wait=10+# Set the connect timeout in seconds to establish connection to HTTP/FTP/proxy server. After the connection is established, this option makes no effect and --timeout option is used instead.+connect-timeout=10+# Set timeout in seconds.+timeout=10# aria2 does not split less than 2*SIZE byte range.min-split-size=1M-# Send Accept: deflate, gzip request header+# Send Accept: deflate, gzip request header.http-accept-gzip=true+# Retrieve timestamp of the remote file from the remote HTTP/FTP server and if it is available, apply it to the local file.+remote-time=true+# Set interval in seconds to output download progress summary. Setting 0 suppresses the output.+summary-interval=0+# Handle quoted string in Content-Disposition header as UTF-8 instead of ISO-8859-1, for example, the filename parameter, but not the extended version filename*.+content-disposition-default-utf8=true################ BT Task ################@@ -50,13 +64,17 @@ bt-enable-lpd=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+bt-max-peers=128# 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+bt-seed-unverified=false+# Set the connect timeout in seconds to establish connection to tracker. After the connection is established, this option makes no effect and --bt-tracker-timeout option is used instead.+bt-tracker-connect-timeout=10+# Set timeout in seconds.+bt-tracker-timeout=10# 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.@@ -70,4 +88,4 @@ enable-peer-exchange=true# Specify the string used during the bitorrent extended handshake for the peer's client version.peer-agent=Transmission/3.00# Specify the prefix of peer ID.-peer-id-prefix=-TR2940-+peer-id-prefix=-TR3000-diff --git a/package.json b/package.jsonindex b94adf4a..27d0bba3 100644--- a/package.json+++ b/package.json@@ -44,12 +44,12 @@"@electron/notarize": "^1.2.3","@electron/osx-sign": "^1.0.4","@electron/remote": "^2.0.9",- "@motrix/multispinner": "^0.2.2",+ "@motrix/multispinner": "^0.2.4","@motrix/nat-api": "^0.3.3","@panter/vue-i18next": "^0.15.2","@vue/eslint-config-standard": "^6.1.0","ajv": "^8.12.0",- "axios": "^1.3.4",+ "axios": "^1.3.5","babel-eslint": "^10.1.0","babel-loader": "^9.1.2","babel-plugin-component": "^1.1.1",@@ -62,8 +62,8 @@"css-loader": "^6.7.3","css-minimizer-webpack-plugin": "^5.0.0","del": "^6.1.1",- "electron": "^22.3.3",- "electron-builder": "^24.1.2",+ "electron": "^22.3.5",+ "electron-builder": "^24.2.0","electron-devtools-installer": "^3.2.0","electron-is": "^3.0.0","electron-log": "^4.4.8",@@ -86,7 +86,7 @@"normalize.css": "^8.0.1","parse-torrent": "^9.1.5","randomatic": "^3.1.1",- "sass": "1.59.3",+ "sass": "1.61.0","sass-loader": "^12.6.0","style-loader": "^3.3.2","terser-webpack-plugin": "^5.3.7",@@ -99,7 +99,7 @@"vue-template-compiler": "^2.7.14","vuex": "^3.6.2","vuex-router-sync": "^5.0.0",- "webpack": "^5.77.0",+ "webpack": "^5.78.0","webpack-cli": "^5.0.1","webpack-dev-server": "^4.13.2","webpack-hot-middleware": "^2.25.3",diff --git a/src/main/core/ConfigManager.js b/src/main/core/ConfigManager.jsindex 9a5cbae3..c235eec3 100644--- a/src/main/core/ConfigManager.js+++ b/src/main/core/ConfigManager.js@@ -52,6 +52,7 @@ export default class ConfigManager {'all-proxy': EMPTY_STRING,'allow-overwrite': false,'auto-file-renaming': true,+ 'bt-force-encryption': false,'bt-exclude-tracker': EMPTY_STRING,'bt-load-saved-metadata': true,'bt-save-metadata': true,@@ -61,6 +62,7 @@ export default class ConfigManager {'dht-file-path6': getDhtPath(IP_VERSION.V6),'dht-listen-port': 26701,'dir': getUserDownloadsPath(),+ 'enable-dht6': true,'follow-metalink': true,'follow-torrent': true,'listen-port': 21301,@@ -68,8 +70,7 @@ export default class ConfigManager {'max-connection-per-server': getMaxConnectionPerServer(),'max-download-limit': 0,'max-overall-download-limit': 0,- 'max-overall-upload-limit': '256K',- 'min-split-size': '1M',+ 'max-overall-upload-limit': '1M','no-proxy': EMPTY_STRING,'pause': true,'pause-metadata': false,diff --git a/src/renderer/components/Preference/Basic.vue b/src/renderer/components/Preference/Basic.vueindex fa746d00..b9eeb7b6 100644--- a/src/renderer/components/Preference/Basic.vue+++ b/src/renderer/components/Preference/Basic.vue@@ -185,6 +185,13 @@{{ $t('preferences.bt-auto-download-content') }}</el-checkbox></el-col>+ <el-col class="form-item-sub" :span="24">+ <el-checkbox+ v-model="form.btForceEncryption"+ >+ {{ $t('preferences.bt-force-encryption') }}+ </el-checkbox>+ </el-col><el-col class="form-item-sub" :span="24"><el-switchv-model="form.keepSeeding"@@ -305,6 +312,7 @@const {autoHideWindow,btSaveMetadata,+ btForceEncryption,dir,engineMaxConnectionPerServer,followMetalink,@@ -333,6 +341,7 @@autoHideWindow,btAutoDownloadContent: !pauseMetadata,btSaveMetadata,+ btForceEncryption,continue: config.continue,dir,engineMaxConnectionPerServer,diff --git a/src/shared/configKeys.js b/src/shared/configKeys.jsindex 18ccddff..f3031eb2 100644--- a/src/shared/configKeys.js+++ b/src/shared/configKeys.js@@ -124,6 +124,7 @@ const systemKeys = ['no-file-allocation-limit','no-netrc','no-proxy',+ 'no-want-digest-header','out','parameterized-uri','pause-metadata',diff --git a/src/shared/locales/ar/preferences.js b/src/shared/locales/ar/preferences.jsindex cb27ac3c..5479b8f6 100644--- a/src/shared/locales/ar/preferences.js+++ b/src/shared/locales/ar/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'بت تورنت','bt-save-metadata': 'احفظ البيانات الوصفية للرابط المغناطيسي كملف تورنت','bt-auto-download-content': 'قم تلقائيا بتنزيل محتوى المغناطيس والسيل',+ 'bt-force-encryption': 'تشفير BT الإجباري','keep-seeding': 'الحفاظ على البزرة حتى يتم ايقافها يدويًا','seed-ratio': 'نسبة البذرة','seed-time': 'وقت البذرة',diff --git a/src/shared/locales/bg/preferences.js b/src/shared/locales/bg/preferences.jsindex d4995616..5daef7fe 100644--- a/src/shared/locales/bg/preferences.js+++ b/src/shared/locales/bg/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BitTorrent','bt-save-metadata': 'Запазете магнитната връзка като торент файл','bt-auto-download-content': 'Автоматично изтегляне на магнит и торент съдържание',+ 'bt-force-encryption': 'BT задължително криптиране','keep-seeding': 'Продължавайте да засявате, докато не го спрете ръчно','seed-ratio': 'Съотношение на семената','seed-time': 'Време на семената',diff --git a/src/shared/locales/ca/preferences.js b/src/shared/locales/ca/preferences.jsindex 1ae01c6d..12d49b45 100644--- a/src/shared/locales/ca/preferences.js+++ b/src/shared/locales/ca/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BitTorrent','bt-save-metadata': 'Deseu l\'enllaç magnet com a fitxer torrent','bt-auto-download-content': 'Descarregueu automàticament el contingut de Magnet i Torrent',+ 'bt-force-encryption': 'Forçar xifratge de BT','keep-seeding': 'Seguiu sembrant fins aturar-lo manualment','seed-ratio': 'Relació de llavors','seed-time': 'Temps de llavors',diff --git a/src/shared/locales/de/preferences.js b/src/shared/locales/de/preferences.jsindex 4fbb4e83..56021b4b 100644--- a/src/shared/locales/de/preferences.js+++ b/src/shared/locales/de/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BitTorrent','bt-save-metadata': 'Magnetlink als Torrent-Datei speichern','bt-auto-download-content': 'Laden Sie den Magneten- und Torrent-Inhalt automatisch herunter',+ 'bt-force-encryption': 'BT Zwangskodierung','keep-seeding': 'Setzen Sie die Aussaat fort, bis Sie sie manuell stoppen','seed-ratio': 'Samenverhältnis','seed-time': 'Startzeit',diff --git a/src/shared/locales/el/preferences.js b/src/shared/locales/el/preferences.jsindex 1b0808f0..4340827c 100644--- a/src/shared/locales/el/preferences.js+++ b/src/shared/locales/el/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BitTorrent','bt-save-metadata': 'Αποθηκεύστε το σύνδεσμο μαγνήτη ως αρχείο torrent','bt-auto-download-content': 'Αυτόματη λήψη περιεχομένου μαγνήτη και χείμαρξης',+ 'bt-force-encryption': 'Εξαναγκασμός κρυπτογράφησης BT','keep-seeding': 'Συνεχίστε να σπέρνετε μέχρι να το σταματήσετε χειροκίνητα','seed-ratio': 'Αναλογία σπόρου','seed-time': 'Χρόνος σπόρου',diff --git a/src/shared/locales/en-US/preferences.js b/src/shared/locales/en-US/preferences.jsindex a3b4b011..62e37a93 100644--- a/src/shared/locales/en-US/preferences.js+++ b/src/shared/locales/en-US/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BitTorrent','bt-save-metadata': 'Save magnet link as torrent file','bt-auto-download-content': 'Automatically download magnet and torrent content',+ 'bt-force-encryption': 'BT force encryption','keep-seeding': 'Keep seeding until manually stopped','seed-ratio': 'Seed Ratio','seed-time': 'Seed Time',diff --git a/src/shared/locales/es/preferences.js b/src/shared/locales/es/preferences.jsindex 8ec2e296..2a5152ec 100644--- a/src/shared/locales/es/preferences.js+++ b/src/shared/locales/es/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BitTorrent','bt-save-metadata': 'Guardar enlace magnet como archivo torrent','bt-auto-download-content': 'Descargar automáticamente el contenido de magnet y torrent',+ 'bt-force-encryption': 'Forzar encriptación BT','keep-seeding': 'Siga sembrando hasta detenerlo manualmente','seed-ratio': 'Proporción de semillas','seed-time': 'Tiempo de semilla',diff --git a/src/shared/locales/fa/preferences.js b/src/shared/locales/fa/preferences.jsindex 4c81d963..6bcd656b 100644--- a/src/shared/locales/fa/preferences.js+++ b/src/shared/locales/fa/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'بیتتورنت','bt-save-metadata': 'ذخیره پیوند مگنت به عنوان پرونده تورنت','bt-auto-download-content': 'بارگیری خودکار مگنت و محتوای تورنت',+ 'bt-force-encryption': 'رمزگذاری اجباری بت','keep-seeding': 'بذرپاشی را تا هنگامی که به صورت دستی قطع نشده، ادامه بده','seed-ratio': 'نسبت دانه','seed-time': 'زمان دانه',diff --git a/src/shared/locales/fr/preferences.js b/src/shared/locales/fr/preferences.jsindex beab198a..1fc0fed4 100644--- a/src/shared/locales/fr/preferences.js+++ b/src/shared/locales/fr/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BitTorrent','bt-save-metadata': 'Enregistrer le lien de l\'aimant en tant que fichier torrent','bt-auto-download-content': 'Télécharger automatiquement l\'aimant et le contenu du torrent',+ 'bt-force-encryption': 'Forcer le chiffrement de BT','keep-seeding': 'Continuez à semer jusqu\'à ce que vous l\'arrêtiez manuellement','seed-ratio': 'Ratio de semences','seed-time': 'Temps de semence',diff --git a/src/shared/locales/hu/preferences.js b/src/shared/locales/hu/preferences.jsindex 319d18dc..8cb59481 100644--- a/src/shared/locales/hu/preferences.js+++ b/src/shared/locales/hu/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BitTorrent','bt-save-metadata': 'Mágneses link mentése torrent fájlként','bt-auto-download-content': 'A mágnes és a torrent tartalma automatikus letöltése',+ 'bt-force-encryption': 'BT erőszakos titkosítása','keep-seeding': 'Addig folytassa a vetéset, amíg manuálisan le nem állítja','seed-ratio': 'Magarány','seed-time': 'Seed Time',diff --git a/src/shared/locales/id/preferences.js b/src/shared/locales/id/preferences.jsindex dab55a4e..fef5ad80 100644--- a/src/shared/locales/id/preferences.js+++ b/src/shared/locales/id/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BitTorrent','bt-save-metadata': 'Simpan tautan magnet sebagai file torrent','bt-auto-download-content': 'Secara otomatis mengunduh magnet dan konten torrent',+ 'bt-force-encryption': 'Memaksa enkripsi paksa BT','keep-seeding': 'Terus lakukan penyemaian sampai menghentikannya secara manual','seed-ratio': 'Rasio Benih','seed-time': 'Waktu Benih',diff --git a/src/shared/locales/it/preferences.js b/src/shared/locales/it/preferences.jsindex 5a8ee557..f15ed932 100644--- a/src/shared/locales/it/preferences.js+++ b/src/shared/locales/it/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BitTorrent','bt-save-metadata': 'Salva magnet link come file torrent','bt-auto-download-content': 'Scarica automaticamente il contenuto di magnete e torrent',+ 'bt-force-encryption': 'Forzare la crittografia di BT','keep-seeding': 'Continua a seminare fino a interromperlo manualmente','seed-ratio': 'Rapporto di semina','seed-time': 'Tempo di semi',diff --git a/src/shared/locales/ja/preferences.js b/src/shared/locales/ja/preferences.jsindex 23d56adc..aed107bb 100644--- a/src/shared/locales/ja/preferences.js+++ b/src/shared/locales/ja/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BitTorrent','bt-save-metadata': 'マグネットリンクをトレントファイルとして保存','bt-auto-download-content': '自動的に磁石と急流のコンテンツをダウンロードします',+ 'bt-force-encryption': 'BT 強制暗号化','keep-seeding': '手動で停止するまでシードを続けます','seed-ratio': 'シード比率','seed-time': 'シードタイム',diff --git a/src/shared/locales/ko/preferences.js b/src/shared/locales/ko/preferences.jsindex 24497170..ff2650e5 100644--- a/src/shared/locales/ko/preferences.js+++ b/src/shared/locales/ko/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BitTorrent','bt-save-metadata': '마그넷 링크를 토렌트 파일로 저장','bt-auto-download-content': '마그넷 및 토렌트 내용 자동 다운로드',+ 'bt-force-encryption': 'BT 강제 암호화','keep-seeding': '수동으로 멈출 때까지 계속 배포','seed-ratio': '배포 비율','seed-time': '배포 시간',diff --git a/src/shared/locales/nb/preferences.js b/src/shared/locales/nb/preferences.jsindex c3dc5cf2..1253519a 100644--- a/src/shared/locales/nb/preferences.js+++ b/src/shared/locales/nb/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BitTorrent','bt-save-metadata': 'Lagre magnetkobling som torrentfil','bt-auto-download-content': 'Last ned Magnet og Torrent-innholdet automatisk',+ 'bt-force-encryption': 'TVANGSKRYPTERING AV BT','keep-seeding': 'Fortsett seeding til du stopper manuelt','seed-ratio': 'Seed-forhold','seed-time': 'Seed-tid',diff --git a/src/shared/locales/nl/preferences.js b/src/shared/locales/nl/preferences.jsindex 9b728eb2..5925e478 100644--- a/src/shared/locales/nl/preferences.js+++ b/src/shared/locales/nl/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BitTorrent','bt-save-metadata': 'Magnetlink opslaan als torrent bestand','bt-auto-download-content': 'Automatisch magnet en torrent content downloaden',+ 'bt-force-encryption': 'BT dwngwyrddysgu gorfodol','keep-seeding': 'Blijf seeden tot het het handmatig wordt gestopt','seed-ratio': 'Seed ratio','seed-time': 'Starttijd',diff --git a/src/shared/locales/pl/preferences.js b/src/shared/locales/pl/preferences.jsindex b5f25562..ceb2fff1 100644--- a/src/shared/locales/pl/preferences.js+++ b/src/shared/locales/pl/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BitTorrent','bt-save-metadata': 'Zapisz link magnetyczny jako plik torrent','bt-auto-download-content': 'Automatycznie pobieraj zawartość magnesu i torrenta',+ 'bt-force-encryption': 'Obrigar a criptografia forçada do BT','keep-seeding': 'Kontynuuj wysiew aż do zatrzymania go ręcznie','seed-ratio': 'Stosunek nasion','seed-time': 'Czas siewu',diff --git a/src/shared/locales/pt-BR/preferences.js b/src/shared/locales/pt-BR/preferences.jsindex 1faae5f9..660b6703 100644--- a/src/shared/locales/pt-BR/preferences.js+++ b/src/shared/locales/pt-BR/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BitTorrent','bt-save-metadata': 'Salvar link magnético como arquivo torrent','bt-auto-download-content': 'Baixar automaticamente ímã e conteúdo de torrent',+ 'bt-force-encryption': 'Forçar criptografia BT','keep-seeding': 'Continue semeando até pará-lo manualmente','seed-ratio': 'Proporção de sementes','seed-time': 'Hora da Semente',diff --git a/src/shared/locales/ro/preferences.js b/src/shared/locales/ro/preferences.jsindex b0114bcf..18f3aabb 100644--- a/src/shared/locales/ro/preferences.js+++ b/src/shared/locales/ro/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BitTorrent','bt-save-metadata': 'Salvați linkul magnet ca fișier torrent','bt-auto-download-content': 'Descărcați automat magnetul și conținutul torrent',+ 'bt-force-encryption': 'Criptare forţată BT','keep-seeding': 'Păstrați însămânțarea până când o opriți manual','seed-ratio': 'Raportul semințelor','seed-time': 'Timpul semințelor',diff --git a/src/shared/locales/ru/preferences.js b/src/shared/locales/ru/preferences.jsindex 59c751a3..256ff017 100644--- a/src/shared/locales/ru/preferences.js+++ b/src/shared/locales/ru/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BitTorrent','bt-save-metadata': 'Сохранить магнитную ссылку как торрент-файл','bt-auto-download-content': 'Автоматически загружать магнит и торрент',+ 'bt-force-encryption': 'Принудительное шифрование BT','keep-seeding': 'Продолжайте посев, пока не остановите его вручную','seed-ratio': 'Соотношение семян','seed-time': 'Время посева',diff --git a/src/shared/locales/th/preferences.js b/src/shared/locales/th/preferences.jsindex 8818db0d..e7df0019 100644--- a/src/shared/locales/th/preferences.js+++ b/src/shared/locales/th/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BitTorrent','bt-save-metadata': 'บันทึกลิงก์แม่เหล็กเป็นไฟล์ทอร์เรนต์','bt-auto-download-content': 'ดาวน์โหลดเนื้อหาแม่เหล็กและทอร์เรนต์โดยอัตโนมัติ',+ 'bt-force-encryption': 'บังคับการเข้ารหัส BT','keep-seeding': 'เก็บ Seed ไว้จนกว่าจะหยุดเอง','seed-ratio': 'เวลาแบ่งปัน BT','seed-time': 'อัตราส่วนแบ่ง BT',diff --git a/src/shared/locales/tr/preferences.js b/src/shared/locales/tr/preferences.jsindex 37e3f229..61547002 100644--- a/src/shared/locales/tr/preferences.js+++ b/src/shared/locales/tr/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BitTorrent','bt-save-metadata': 'Mıknatıs bağlantısını torrent dosyası olarak kaydedin','bt-auto-download-content': 'Magnet ve torrent içeriğini otomatik olarak indirin',+ 'bt-force-encryption': 'BT Zorunlu Şifreleme','keep-seeding': 'Manuel olarak durdurana kadar tohumlamaya devam edin','seed-ratio': 'Tohum Oranı','seed-time': 'Tohum Zamanı',diff --git a/src/shared/locales/uk/preferences.js b/src/shared/locales/uk/preferences.jsindex 8814f7de..25882bbc 100644--- a/src/shared/locales/uk/preferences.js+++ b/src/shared/locales/uk/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BitTorrent','bt-save-metadata': 'Зберегти магнітне посилання як торрент-файл','bt-auto-download-content': 'Автоматично завантажуйте вміст магніту та торрент',+ 'bt-force-encryption': 'Обов\'язкова криптографія BT','keep-seeding': 'Продовжуйте висівати, поки не зупините його вручну','seed-ratio': 'Співвідношення насіння','seed-time': 'Час насіння',diff --git a/src/shared/locales/vi/preferences.js b/src/shared/locales/vi/preferences.jsindex ce5ed92e..b740e50a 100644--- a/src/shared/locales/vi/preferences.js+++ b/src/shared/locales/vi/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BitTorrent','bt-save-metadata': 'Lưu liên kết magnet dưới dạng tệp torrent','bt-auto-download-content': 'Tự động tải xuống nam châm và nội dung torrent',+ 'bt-force-encryption': 'Bắt BT mã hóa đầy đủ','keep-seeding': 'Tiếp tục seed cho đến khi dừng lại theo cách thủ công','seed-ratio': 'Tỷ lệ seed','seed-time': 'Thời gian seed',diff --git a/src/shared/locales/zh-CN/preferences.js b/src/shared/locales/zh-CN/preferences.jsindex 6ccc79c6..345e7aeb 100644--- a/src/shared/locales/zh-CN/preferences.js+++ b/src/shared/locales/zh-CN/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BT 设置','bt-save-metadata': '保存磁力链接元数据为种子文件','bt-auto-download-content': '自动开始下载磁力链接、种子的文件',+ 'bt-force-encryption': 'BT强制加密','keep-seeding': '持续做种,直到手动停止','seed-ratio': '做种分享率','seed-time': '做种时间',diff --git a/src/shared/locales/zh-TW/preferences.js b/src/shared/locales/zh-TW/preferences.jsindex 0a8d31b2..5dbafb6b 100644--- a/src/shared/locales/zh-TW/preferences.js+++ b/src/shared/locales/zh-TW/preferences.js@@ -19,6 +19,7 @@ export default {'bt-settings': 'BT 設定','bt-save-metadata': '將磁力連結中繼資料儲存為種子檔案','bt-auto-download-content': '自動開始下載磁力連結、種子的檔案',+ 'bt-force-encryption': '強制 BT 加密','keep-seeding': '持續做種,直到手動停止','seed-ratio': '做種分享率','seed-time': '做種時間',diff --git a/yarn.lock b/yarn.lockindex 56dd94a3..ced1993e 100644--- a/yarn.lock+++ b/yarn.lock@@ -1197,12 +1197,12 @@lodash "^4.17.15"tmp-promise "^3.0.2"-"@motrix/multispinner@^0.2.2":- version "0.2.2"- resolved "https://registry.npmjs.org/@motrix/multispinner/-/multispinner-0.2.2.tgz#9e1f4ae6306194928f9eb72ee57e012f6b296f88"- integrity sha512-N43p5TdOYg23UY6R0aW+B1Cip5sgkhOYmh1/s4LWY829Cd9vVhrGnexa2mETQZYoAijzwn6XNjaV2xfuh3K7hQ==+"@motrix/multispinner@^0.2.4":+ version "0.2.4"+ resolved "https://registry.yarnpkg.com/@motrix/multispinner/-/multispinner-0.2.4.tgz#ca5ad2b723b59696e8243200cbe88d33d7e97924"+ integrity sha512-eOyFraowbsYZCUrtJcyS7u/MpuObk4z8uaiycZvRyAb9U3oqcAGN2dsXGNbSoAtDAaM8VbQK0rFXKv3cDM/CiQ==dependencies:- chalk "^4.1.0"+ chalk "^4.1.2"figures "^3.2.0"kind-of "^6.0.3"lodash.clonedeep "^4.5.0"@@ -1876,10 +1876,10 @@ [email protected]:resolved "https://registry.npmjs.org/app-builder-bin/-/app-builder-bin-4.0.0.tgz#1df8e654bd1395e4a319d82545c98667d7eed2f0"integrity sha512-xwdG0FJPQMe0M0UA4Tz0zEB8rBJTRA5a476ZawAqiBkMv16GRK5xpXThOjMaEOFnZ6zabejjG4J3da0SXG63KA==- version "24.1.2"- resolved "https://registry.npmjs.org/app-builder-lib/-/app-builder-lib-24.1.2.tgz#750a1712856454475994ecd7d759fd1edce23757"- integrity sha512-OfP1KPRj3QO+OJzyY5pi59iJDt3KuzGmRbOzKYE4L3Z8SK1leum4wU/o6fxiEZ5XCpnRBK6sV3WnTbWRYi3vaQ==+ version "24.2.0"+ resolved "https://registry.yarnpkg.com/app-builder-lib/-/app-builder-lib-24.2.0.tgz#8d7c59225a02b9ccc2eea79bc3122a0c11f82e43"+ integrity sha512-tR/5NAH0twXg9+83+HwqMbHntCFCpnYBYjKn45k8RuMZ2Z+Em4bkTCB0PqPpOyck3HJN2k9tjFtzF6BFjM4yxg==dependencies:"7zip-bin" "~5.1.1""@develar/schema-utils" "~2.6.5"@@ -2041,10 +2041,10 @@ available-typed-arrays@^1.0.5:resolved "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7"integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==-axios@^1.3.4:- version "1.3.4"- resolved "https://registry.npmjs.org/axios/-/axios-1.3.4.tgz#f5760cefd9cfb51fd2481acf88c05f67c4523024"- integrity sha512-toYm+Bsyl6VC5wSkfkbbNB6ROv7KY93PEBBL6xyDczaIHasAiv4wPqQ/c4RjoQzipxRD2W5g21cOqQulZ7rHwQ==+axios@^1.3.5:+ version "1.3.5"+ resolved "https://registry.npmjs.org/axios/-/axios-1.3.5.tgz#e07209b39a0d11848e3e341fa087acd71dadc542"+ integrity sha512-glL/PvG/E+xCWwV8S6nCHcrfg1exGx7vxyUIivIA1iL7BIh6bePylCfVHwp6k13ao7SATxB6imau2kqY+I67kw==dependencies:follow-redirects "^1.15.0"form-data "^4.0.0"@@ -3058,12 +3058,12 @@ dir-glob@^3.0.1:dependencies:path-type "^4.0.0"- version "24.1.2"- resolved "https://registry.npmjs.org/dmg-builder/-/dmg-builder-24.1.2.tgz#880315869365fcca7794dab1d96607fdf0fe4e2a"- integrity sha512-fIY5k8iQnWNNP6H3HPokwcxNiUE+LRqkrOq7nvuVSM/lBqMXJ89Nd0wKhLt3jWSukDDRJ7XLiHXcV6gkUADg/Q==+ version "24.2.0"+ resolved "https://registry.yarnpkg.com/dmg-builder/-/dmg-builder-24.2.0.tgz#81c1f0009c93395addb0586b5e82f54296542837"+ integrity sha512-AquMbvi/c6+yt6GaTUBlXn9BQlnv5QXT4G6JBuLZiBLxj0AN2uEDih5bYMNXaX22NEbYVfuzm9okmzXOGsHuVw==dependencies:- app-builder-lib "24.1.2"+ app-builder-lib "24.2.0"builder-util "24.1.2"builder-util-runtime "9.2.0"fs-extra "^10.1.0"@@ -3211,16 +3211,16 @@ ejs@^3.1.8:dependencies:jake "^10.8.5"-electron-builder@^24.1.2:- version "24.1.2"- resolved "https://registry.npmjs.org/electron-builder/-/electron-builder-24.1.2.tgz#5dbcad857a78d21ab153af02e1918ca9ae399084"- integrity sha512-3GkaYJ9SFZvp4WaZeiG77ivIneNFykVBhLcfVTwF3UagcvhPMtflhuXsx3e6Z6hKtBZtWRooVwPqGE+3+QtGHw==+electron-builder@^24.2.0:+ version "24.2.0"+ resolved "https://registry.yarnpkg.com/electron-builder/-/electron-builder-24.2.0.tgz#dbc1eb144fa931f7459f4d8649a2bcd66e9de97b"+ integrity sha512-DLZJtpk6U9vO1o9uW63J8xalVfhamc4Kbq1eQgTPA5TwYp3KZH+JXubY6lZgld9OgonRmX5Cu7AHXRQzd9mRWg==dependencies:- app-builder-lib "24.1.2"+ app-builder-lib "24.2.0"builder-util "24.1.2"builder-util-runtime "9.2.0"chalk "^4.1.2"- dmg-builder "24.1.2"+ dmg-builder "24.2.0"fs-extra "^10.1.0"is-ci "^3.0.0"lazy-val "^1.0.5"@@ -3296,9 +3296,9 @@ electron-updater@^5.3.0:semver "^7.3.5"typed-emitter "^2.1.0"-electron@^22.3.3:+electron@^22.3.5:version "22.3.5"- resolved "https://registry.npmjs.org/electron/-/electron-22.3.5.tgz#a53a318cbb25a44914dfedd30a9ad6120632197f"+ resolved "https://registry.yarnpkg.com/electron/-/electron-22.3.5.tgz#a53a318cbb25a44914dfedd30a9ad6120632197f"integrity sha512-CTdnoTbO3sDiMv47TX3ZO640Ca57v1qpiqGChFF8oZbtfHuQjTPPaE4hsoynf22wwnBiyJNL41DpB/pfp9USnA==dependencies:"@electron/get" "^2.0.0"@@ -6618,10 +6618,10 @@ sass-loader@^12.6.0:klona "^2.0.4"neo-async "^2.6.2"- version "1.59.3"- resolved "https://registry.npmjs.org/sass/-/sass-1.59.3.tgz#a1ddf855d75c70c26b4555df4403e1bbf8e4403f"- integrity sha512-QCq98N3hX1jfTCoUAsF3eyGuXLsY7BCnCEg9qAact94Yc21npG2/mVOqoDvE0fCbWDqiM4WlcJQla0gWG2YlxQ==+ version "1.61.0"+ resolved "https://registry.yarnpkg.com/sass/-/sass-1.61.0.tgz#d1f6761bb833887b8fdab32a24e052c40531d02b"+ integrity sha512-PDsN7BrVkNZK2+dj/dpKQAWZavbAQ87IXqVvw2+oEYI+GwlTWkvbQtL7F2cCNbMqJEYKPh1EcjSxsnqIb/kyaQ==dependencies:chokidar ">=3.0.0 <4.0.0"immutable "^4.0.0"@@ -7631,10 +7631,10 @@ webpack-sources@^3.2.3:resolved "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz#2d4daab8451fd4b240cc27055ff6a0c2ccea0cde"integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==-webpack@^5.77.0:- version "5.77.0"- resolved "https://registry.npmjs.org/webpack/-/webpack-5.77.0.tgz#dea3ad16d7ea6b84aa55fa42f4eac9f30e7eb9b4"- integrity sha512-sbGNjBr5Ya5ss91yzjeJTLKyfiwo5C628AFjEa6WSXcZa4E+F57om3Cc8xLb1Jh0b243AWuSYRf3dn7HVeFQ9Q==+webpack@^5.78.0:+ version "5.78.0"+ resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.78.0.tgz#836452a12416af2a7beae906b31644cb2562f9e6"+ integrity sha512-gT5DP72KInmE/3azEaQrISjTvLYlSM0j1Ezhht/KLVkrqtv10JoP/RXhwmX/frrutOPuSq3o5Vq0ehR/4Vmd1g==dependencies:"@types/eslint-scope" "^3.7.3""@types/estree" "^0.0.51"