nwjs / nw.js

Call all Node.js modules directly from DOM/WebWorker and enable a new way of writing applications with all Web technologies.
https://nwjs.io
MIT License
40.29k stars 3.88k forks source link

Security warning stops running nwjs on MacOS #8196

Closed pragma-git closed 4 days ago

pragma-git commented 1 month ago

Issue Type

Before opening an issue, please search and see if it has already been raised.

Current/Missing Behavior

Cannot run downloaded nwjs due to macos security concerns. Previously the downloaded nwjs.app could be made to run by right-click on the app and select 'Open' (the first time only, after that it worked by double-clicking)

Expected/Proposed Behavior

I expected to be able to run the downloaded nwjs version by right-clicking nwjs.app and selecting 'Open' as before

Additional Info

Problem is solved by this command (which I have not seen documented on the download page) sudo xattr -r -d com.apple.quarantine /Applications/nwjs.app

One solution may be to hint this on the download page?

The installation procedure I use is to unzip the downloaded file nwjs-sdk-v0.89.0-osx-arm64, and then copy the nwjs.app from the unzipped folder into /Applications

ayushmanchhabra commented 1 month ago

https://github.com/nwjs/nw.js/wiki/FAQ/68779af0bfffa98e4d292f811c8bbf7bee5be264 @pragma-git Added to the wiki's FAQ. Where do you suggest this to be added in the docs?

ayushmanchhabra commented 4 days ago

https://github.com/nwjs/nw.js/issues/7117 The app needs to be signed to run (and notarized to distribute via App Store).