jerrod-lankford / google-voice-desktop-app

An electron shell wrapper around the google voice website
245 stars 36 forks source link

Windows Defender Firewall has blocked some features of this app while receiving call #145

Open brmonaghan opened 1 year ago

brmonaghan commented 1 year ago

Here we go again. It appears when I'm getting calls from people that I know, for the first time, a firewall message pops up. I also am seeing a 2 instead of a 1 when I receive messages. image

Seedless commented 1 year ago

I was also getting the doubling of notifications. I cloned the repository and in main.js added the line "sum = sum /2;" to this section: // Query the dom for the notification badges win.webContents.executeJavaScript(Array.from(document.querySelectorAll('.gv_root .navListItem .navItemBadge')).map(n => n.textContent && n.textContent.trim());).then(counts => { if (counts && counts.length > 0) { sum = counts.reduce((accum, count) => { try { accum += parseInt(count, 10); } catch (e) { } return accum; }, 0); } sum = sum / 2; processNotificationCount(app, sum); }); Then built a new setup and it fixed that issue. It is a band-aid rather than a real fix but it worked for me.