add custom options to ariang option editing dialog
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Bruder 2019-07-13 11:15:38 +00:00
parent f46e966c5a
commit f509ca4810
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F
2 changed files with 17 additions and 0 deletions

View file

@ -9,6 +9,13 @@ RUN npm run-script build
RUN git clone --depth=1 https://github.com/mayswind/AriaNg /AriaNg
WORKDIR /AriaNg
COPY ariang-additional-options.js .
RUN ( \
head -n-3 src/scripts/config/aria2Options.js; \
cat ariang-additional-options.js; \
tail -3 src/scripts/config/aria2Options.js \
) > src/scripts/config/aria2Options.js.new \
&& mv src/scripts/config/aria2Options.js.new src/scripts/config/aria2Options.js
RUN npm install \
&& npm install natives@1.1.6 \
&& npx gulp clean build-bundle

View file

@ -0,0 +1,10 @@
, // leave this here
{
key: 'bt-seed-unverified',
category: 'bittorrent'
},
{
key: 'check-integrity',
category: 'bittorrent'
}
// vim: set ts=4 sw=4 sts=4: