1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-22 21:01:36 +03:00

WezTerm.app/Contents/Info.plist: request network permissions

On MacOS 15 (Sequoia) and later,
Wezterm.app should ask for a LocalNetwork entitlement by default.

This fixes mysterious network failures (eg: 'no route to host') when:

- Wezterm is a toplevel process (ie: not a child of a process
  that already has LocalNetwork entitlement, like Terminal)
- A shell running inside Wezterm executes a process which accesses the network,
  but does not itself already have a LocalNetwork entitlement,
  eg: /etc/profiles/per-user/$(whoami)/bin/ssh
  for ssh installed by nix home-manager.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
This commit is contained in:
Sirio Balmelli 2024-10-21 11:42:40 +02:00 committed by Wez Furlong
parent 255b9e0783
commit 51c794ac50

View File

@ -60,6 +60,8 @@
<string>An application launched via WezTerm would like to access your Downloads folder.</string>
<key>NSSystemAdministrationUsageDescription</key>
<string>An application launched via WezTerm requires elevated permission.</string>
<key>NSLocalNetworkUsageDescription</key>
<string>An application launched via WezTerm would like to access the local network.</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>