gh-net icon indicating copy to clipboard operation
gh-net copied to clipboard

[mac osx]: Do you want the application "gh net" to accept incoming network connections? dialog come and go out quickly

Open legomushroom opened this issue 3 years ago • 0 comments

🔨 Workaround

Add a firewall rule for the ~/.local/share/gh/extensions/gh-net/gh-net binary.

Step-by-steps instructions

  1. Open System Preferences > Security & Privacy > Firewall:

image

  1. Click on the lock in the bottom left part of the preferences window and authorize this action:

image

  1. Click on now enabled Firewall Options... button

  2. Click on + button select the ~/.local/share/gh/extensions/gh-net/gh-net binary on the file system. If you don't see the .local folder, press shift+command+. to show all hidden files and folders.

  3. Once the binary added to the list, change its rule from Allow incoming connections to Block incoming connections:

image

  1. Click OK button to apply.

  2. Click the lock icon again to lock the firewall settings back 🔒.

legomushroom avatar Apr 26 '22 18:04 legomushroom