mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-29 17:21:13 +01:00
When the agent binary is symlinked (e.g., from /opt/pulse/bin to /usr/local/bin), the self-update would fail with "invalid cross-device link" because os.Rename() doesn't work across filesystems. Now resolves symlinks before update and creates the temp file in the same directory as the real binary. Related to #737