mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-06-22 06:03:49 +08:00
release: bump version to 5.1.1 and fix dns download issue
add --async-dns=false aria2 parameter to all download jobs to fix potential dns resolution failures during package download
This commit is contained in:
@@ -390,6 +390,7 @@ async function processNextInQueue() {
|
|||||||
const aria2Args = [
|
const aria2Args = [
|
||||||
`--dir=${downloadDir}`,
|
`--dir=${downloadDir}`,
|
||||||
"--allow-overwrite=true",
|
"--allow-overwrite=true",
|
||||||
|
"--async-dns=false",
|
||||||
"--summary-interval=1",
|
"--summary-interval=1",
|
||||||
"--connect-timeout=10",
|
"--connect-timeout=10",
|
||||||
"--timeout=15",
|
"--timeout=15",
|
||||||
|
|||||||
@@ -89,6 +89,7 @@ export const downloadPackage = async ({
|
|||||||
const aria2Args = [
|
const aria2Args = [
|
||||||
`--dir=${downloadDir}`,
|
`--dir=${downloadDir}`,
|
||||||
"--allow-overwrite=true",
|
"--allow-overwrite=true",
|
||||||
|
"--async-dns=false",
|
||||||
"--summary-interval=1",
|
"--summary-interval=1",
|
||||||
"--connect-timeout=10",
|
"--connect-timeout=10",
|
||||||
"--timeout=15",
|
"--timeout=15",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "spark-store",
|
"name": "spark-store",
|
||||||
"version": "5.1.0",
|
"version": "5.1.1",
|
||||||
"main": "dist-electron/main/index.js",
|
"main": "dist-electron/main/index.js",
|
||||||
"description": "Client for Spark App Store",
|
"description": "Client for Spark App Store",
|
||||||
"author": "elysia-best <elysia-best@simplelinux.cn.eu.org>",
|
"author": "elysia-best <elysia-best@simplelinux.cn.eu.org>",
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ void DownloadManager::startDownload(const QString &packageName, const QString &u
|
|||||||
QStringList arguments = {
|
QStringList arguments = {
|
||||||
"--enable-rpc=false",
|
"--enable-rpc=false",
|
||||||
"--console-log-level=warn",
|
"--console-log-level=warn",
|
||||||
|
"--async-dns=false",
|
||||||
"--summary-interval=1",
|
"--summary-interval=1",
|
||||||
"--allow-overwrite=true",
|
"--allow-overwrite=true",
|
||||||
"--connect-timeout=30",
|
"--connect-timeout=30",
|
||||||
|
|||||||
Reference in New Issue
Block a user