mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-01-11 20:10:20 +00:00
Update index.ts
This commit is contained in:
parent
89bd225391
commit
c2284b85cc
1 changed files with 2 additions and 7 deletions
9
index.ts
9
index.ts
|
|
@ -49,12 +49,7 @@ import update from './modules/module.updater';
|
|||
await service.cli();
|
||||
}
|
||||
} else {
|
||||
if (argv.service === 'funi') {
|
||||
const funi = new (await import('./funi')).default();
|
||||
await funi.cli();
|
||||
} else if (argv.service === 'crunchy') {
|
||||
const crunchy = new (await import('./crunchy')).default();
|
||||
await crunchy.cli();
|
||||
}
|
||||
let service = argv.service === 'funi' ? new (await import('./funi')).default() : new (await import('./crunchy')).default() as ServiceClass;
|
||||
await service.cli();
|
||||
}
|
||||
})();
|
||||
Loading…
Reference in a new issue