Use NXAPI_DATA_PATH and ZNC_PROXY_URL environment variables

This commit is contained in:
Samuel Elliott
2022-03-25 18:43:46 +00:00
parent f1d262bfa7
commit d5cf1b87a8
5 changed files with 8 additions and 6 deletions

View File

@@ -66,7 +66,7 @@ export async function handler(argv: ArgumentsCamelCase<Arguments>) {
console.log('');
console.log(authoriseurl);
console.log('');
console.log('2. On the "Linking an External Account" page, right click "Select this person" and copy the link. It should start with "npf54789befb391a838://auth".');
console.log('');
@@ -93,7 +93,7 @@ export async function handler(argv: ArgumentsCamelCase<Arguments>) {
if (argv.auth) {
const storage = await initStorage(argv.dataPath);
const {moon, data} = await getPctlToken(storage, token.session_token);
console.log('Authenticated as Nintendo Account %s (%s)',