await notify before process.exit, #69
This commit is contained in:
parent
114631da4d
commit
73a7cffd47
4 changed files with 9 additions and 8 deletions
2
gog.js
2
gog.js
|
|
@ -72,7 +72,7 @@ try {
|
|||
await page.waitForSelector('#menuUsername')
|
||||
} else {
|
||||
console.log('Waiting for you to login in the browser.');
|
||||
notify('gog: no longer signed in and not enough options set for automatic login.');
|
||||
await notify('gog: no longer signed in and not enough options set for automatic login.');
|
||||
if (cfg.headless) {
|
||||
console.log('Run `SHOW=1 node gog` to login in the opened browser.');
|
||||
await context.close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue