A simple HTML page that is easily put into an iframe and allows scanning of the QR code, maybe shows some logs and session state.
Maybe, total.js is a good way.
To make a auth page and show logs.
thanks for the suggestion deLuca. Will be working on the majority of these issues over the weekend. v2.0.0 of open-wa will be amazing!
@github-actions run
âš¡ Release! âš¡
(async () => {
function exec(cmd) {
console.log(execSync(cmd).toString());
}
// Config
const gitUserEmail = "github-actions[bot]@users.noreply.github.com";
const gitUserName = "github-actions[bot]";
exec(`echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc`);
exec(`git config --global user.email "${gitUserEmail}"`);
exec(`git config --global user.name "${gitUserName}"`);
exec(`npm i`);
exec(`npm run release-ci`);
//comment on the issue
var result = execSync(`npx auto-changelog -o ./tempchangelog.txt --commit-limit false --template ./compact-keepachangelog.hbs --stdout`).toString();
await postComment(result);
//create changelog image
exec(`npm run release-image`);
exec(`git commit -a -m 'updated release-image'`);
exec(`git push --force`);
})();
#633#632#635#634#631#630#627#628#624cb6e8b8108ac2ac5bb4677c6ebd4skipSessionSave #606 58280c2bdd7c7529b94881cc0c693e66d69In v1.9.97 you will now be able to use a pop up to authenticate the session or just check the start up logs.
https://open-wa.github.io/wa-automate-nodejs/interfaces/configobject.html#popup
...
//Open browser to see logs and QR code. Usually it will open on port 3000
create({
popup: true
})
//or you can set your own preferred port. If the preferred port is busy, it will automatically find an open port
create({
popup: 1234
})
Most helpful comment
thanks for the suggestion deLuca. Will be working on the majority of these issues over the weekend. v2.0.0 of open-wa will be amazing!