asticode / go-astilectron

Build cross platform GUI apps with GO and HTML/JS/CSS (powered by Electron)
MIT License
4.9k stars 344 forks source link

Added SetContentProtection feature to Window #335

Closed vocuzi closed 3 years ago

vocuzi commented 3 years ago

This PR implements content protection feature of Electron. Prevents the window contents from being captured by other apps.

More on feature : https://www.electronjs.org/docs/api/browser-window#winsetcontentprotectionenable-macos-windows

Closes #334

coveralls commented 3 years ago

Coverage Status

Coverage decreased (-0.3%) to 78.79% when pulling 9ebc2f44a58f09999b6df1d25db101709e7d5a3d on vocuzi:master into ded625709bb58c4d43329d18a5c3d6073f8e966e on asticode:master.

asticode commented 3 years ago

FYI I've created a v0.25.0 tag