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
5e78bdb982
|
@ -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
|
||||
|
|
12
ariang-additional-options.js
Normal file
12
ariang-additional-options.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
, // leave this here
|
||||
{
|
||||
key: 'bt-seed-unverified',
|
||||
category: 'bittorrent',
|
||||
canShow: 'new|waiting|paused'
|
||||
},
|
||||
{
|
||||
key: 'check-integrity',
|
||||
category: 'bittorrent',
|
||||
canShow: 'new|waiting|paused'
|
||||
}
|
||||
// vim: set ts=4 sw=4 sts=4:
|
Reference in a new issue