Files
netbird/release_files
riccardom 4b5a8c3af3 [client] launch macOS UI via sudo -u -H for full user env (HOME/USER/LOGNAME)
Both launch paths (pkg postinstall and the updater's startUIAsUser) run as
root, so launchctl asuser alone moves the launch into the user's GUI domain
but leaves root's HOME/USER/LOGNAME. Use sudo -u <user> -H to drop to the
console user with their environment, fixing os.UserConfigDir() resolution.
Drops the space-fragile dscl/awk home lookup and the duplicate-HOME append;
extracts consoleUser() and aligns the skip list across both paths.
2026-07-29 17:45:41 +02:00
..
2022-05-22 18:53:47 +02:00
2022-05-22 18:53:47 +02:00