mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fixes 7 errs. see yargs typescript docs. test plz
This commit is contained in:
@ -113,7 +113,7 @@ const cliArguments = yargs(hideBin(process.argv))
|
|||||||
type: 'string',
|
type: 'string',
|
||||||
default: 'certs/privkey.pem',
|
default: 'certs/privkey.pem',
|
||||||
describe: 'Path to your private key file.'
|
describe: 'Path to your private key file.'
|
||||||
}).argv;
|
}).parseSync();
|
||||||
|
|
||||||
// change all relative paths
|
// change all relative paths
|
||||||
const directory = process['pkg'] ? path.dirname(process.execPath) : __dirname;
|
const directory = process['pkg'] ? path.dirname(process.execPath) : __dirname;
|
||||||
|
Reference in New Issue
Block a user