You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had the error reported by a user of our service this morning.
Error: open /Users/<username>/Library/LaunchAgents/service.plist: no such file or directory
It looks like on macOS Monterey, the ~/Library/LaunchAgents directory does not exist. I can also see that we don't attempt to create it during installation here:
I think we should always ensure that the directory exists before os.Create(). Am I mistaken? If not, I don't mind sending a PR.
The text was updated successfully, but these errors were encountered:
sithembiso
changed the title
Error: open /Users/<username>/Library/LaunchAgents/service.plist: no such file or directory
Error: no such file or directory during installation on macOS Monterey
Feb 14, 2022
I had the error reported by a user of our service this morning.
It looks like on macOS Monterey, the
~/Library/LaunchAgents
directory does not exist. I can also see that we don't attempt to create it during installation here:daemon/daemon_darwin.go
Line 94 in 496d691
I think we should always ensure that the directory exists before
os.Create()
. Am I mistaken? If not, I don't mind sending a PR.The text was updated successfully, but these errors were encountered: