Fixed build files

This commit is contained in:
Izuco 2021-05-25 20:32:41 +02:00
parent b2fb0e7260
commit 225d81e9ce
3 changed files with 6 additions and 7 deletions

View file

@ -27,11 +27,10 @@ const getData = require('./modules/module.getdata.js');
const vttConvert = require('./modules/module.vttconvert');
// new-cfg
const cfgFolder = path.join(__dirname, '/config');
const binCfgFile = path.join(cfgFolder, 'bin-path');
const dirCfgFile = path.join(cfgFolder, 'dir-path');
const cliCfgFile = path.join(cfgFolder, 'cli-defaults');
const tokenFile = path.join(cfgFolder, 'token');
const binCfgFile = path.join('config', 'bin-path');
const dirCfgFile = path.join('config', 'dir-path');
const cliCfgFile = path.join('config', 'cli-defaults');
const tokenFile = path.join('config', 'token');
// params
let cfg = {

View file

@ -77,7 +77,7 @@ const appArgv = (cfg) => {
.option('subLang', {
group: 'Downloading:',
describe: 'Set the subtitle language (English is default and fallback)',
default: cfg.subLang || 'en',
default: cfg.subLang || 'enUS',
choices: [ 'enUS', 'esLA', 'ptBR' ],
type: 'string'
})

View file

@ -1,7 +1,7 @@
{
"name": "funimation-downloader-nx",
"short_name": "funi",
"version": "4.8.0",
"version": "4.8.1",
"description": "Download videos from Funimation via cli.",
"keywords": [
"download",