add custom options to ariang option editing dialog
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f46e966c5a
commit
f509ca4810
|
@ -9,6 +9,13 @@ RUN npm run-script build
|
||||||
|
|
||||||
RUN git clone --depth=1 https://github.com/mayswind/AriaNg /AriaNg
|
RUN git clone --depth=1 https://github.com/mayswind/AriaNg /AriaNg
|
||||||
WORKDIR /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 \
|
RUN npm install \
|
||||||
&& npm install natives@1.1.6 \
|
&& npm install natives@1.1.6 \
|
||||||
&& npx gulp clean build-bundle
|
&& npx gulp clean build-bundle
|
||||||
|
|
10
ariang-additional-options.js
Normal file
10
ariang-additional-options.js
Normal 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:
|
Reference in a new issue