Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
syntax_j
mycard
Commits
d0483a31
Commit
d0483a31
authored
Jan 26, 2017
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
尝试修复YGOPro更新失败问题
parent
b0926d75
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
index.js
index.js
+1
-1
package.json
package.json
+1
-1
No files found.
index.js
View file @
d0483a31
...
...
@@ -130,7 +130,7 @@ function createAria2c() {
default
:
throw
'
unsupported platform
'
;
}
return
child_process
.
spawn
(
aria2c_path
,
[
'
--enable-rpc
'
,
'
--rpc-allow-origin-all
'
,
'
--continue
'
,
'
--split=10
'
,
'
--min-split-size=1M
'
,
'
--max-connection-per-server=10
'
,
'
--remove-control-file
'
],
{
stdio
:
'
ignore
'
});
return
child_process
.
spawn
(
aria2c_path
,
[
'
--enable-rpc
'
,
'
--rpc-allow-origin-all
'
,
'
--continue
'
,
'
--split=10
'
,
'
--min-split-size=1M
'
,
'
--max-connection-per-server=10
'
,
'
--remove-control-file
'
,
'
--allow-overwrite
'
],
{
stdio
:
'
ignore
'
});
}
const
aria2c
=
createAria2c
();
...
...
package.json
View file @
d0483a31
{
"name"
:
"mycard"
,
"version"
:
"3.0.2
1
"
,
"version"
:
"3.0.2
2
"
,
"description"
:
"mycard"
,
"keywords"
:
[],
"author"
:
"zh99998 <zh99998@gmail.com>"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment