How can i programmatically in .net core, tell MacOS Catalina to startup my console application on system boot? I know that i can add program manually by Preferences:
Open System Preferences.
Go to Users & Groups.
Choose your nickname on the left.
Choose Login items tab.
Press “+” and choose the app you’d like add.
Then restart your Mac to see the changes.
But how to do this programmatically? Is this possible in .net core / zsh script?