nwutils / nw-builder

Build NW.js applications for Linux, MacOS and Windows
MIT License
1.68k stars 303 forks source link

New mac-specific option needed: `NSLocalNetworkUsageDescription` #1235

Open beaugunderson opened 4 hours ago

beaugunderson commented 4 hours ago

Issue Type

Current/Missing Behaviour

macOS 15 now requires NSLocalNetworkUsageDescription in the Info.plist to enable local networking, so we need to be able to specify it.

Expected/Proposed Behaviour

When passed to app for a macOS build, the NSLocalNetworkUsageDescription key is added to Info.plist like the other keys.

Additional Info

ayushmanchhabra commented 4 hours ago

https://developer.apple.com/documentation/bundleresources/information_property_list/nslocalnetworkusagedescription @beaugunderson Looks like it is supported since MacOS 11. Are you open to creating a pull request?

beaugunderson commented 4 hours ago

There's a FAQ here as well: https://developer.apple.com/forums/thread/663858

beaugunderson commented 4 hours ago

Very open! I'll do that now. :)

beaugunderson commented 4 hours ago

Done!