aequitas/macos-menubar-wireguard

Allow path to wg-quick to be specified.

dsully opened this issue · 3 comments

I have a small patch to wg-quick (That I'm trying to get upstream) to support DNS Search Servers.

It'd be nice to be able to chose the path to wg-quick, in case it is not in /usr/local/bin/

Quickest solution for now would be to build the app yourself and changing: https://github.com/aequitas/macos-menubar-wireguard/blob/master/Shared/Const.swift#L19

I still need to figure out how to best provide dynamic configuration to the Privileged Helper (the part of the application running as root) as it would be a huge attack vector if just any binary path could be executed by a unprivileged user. So a proper implementation of this feature might take a while. I'm also investigating the possibility to provide wireguard with the app and ditching wg-quick as a whole.

Yep, works great. Thanks!