parent
60bc645ae0
commit
322aeebd45
2 changed files with 43 additions and 6 deletions
apps/update/src
|
@ -1,19 +1,24 @@
|
|||
import { parseArgs } from './lib.ts';
|
||||
import { updateFirefoxAddons } from '././firefox.ts';
|
||||
import { updateDocker } from './misc.ts';
|
||||
import { updateDocker, updateVuetorrent } from './misc.ts';
|
||||
|
||||
|
||||
const args = parseArgs();
|
||||
|
||||
if (args['f'] || args['firefox']) {
|
||||
console.log(updateFirefoxAddons());
|
||||
}
|
||||
|
||||
if (args['d'] || args['docker']) {
|
||||
console.log(updateDocker());
|
||||
}
|
||||
|
||||
if (args['f'] || args['firefox']) {
|
||||
console.log(updateFirefoxAddons());
|
||||
}
|
||||
|
||||
if (args['v'] || args['vuetorrent']) {
|
||||
console.log(updateVuetorrent());
|
||||
}
|
||||
|
||||
if (args['a'] || args['all']) {
|
||||
console.log(updateVuetorrent());
|
||||
console.log(updateFirefoxAddons());
|
||||
console.log(updateDocker());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue