xan105 / node-powertoast

Windows toast notification and toastXml string builder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

use powerShell evaluation possibly wrong

smadep opened this issue · comments

Hi!

const powerShell = (!winRT || (winRT && option.disableWinRT === true)) ? false : true;

... shouldn't that line have reversed returns?!
in case of either no winRT or (winRT but disabled-option) then use powershell otherwise not.

const powerShell = (!winRT || (winRT && option.disableWinRT === true)) ? true : false;

Thanks, Stefan

Damn how did I miss that 😰 Thanks man.