22-03-2025
-Makefile -.plist
This commit is contained in:
13
Makefile
Normal file
13
Makefile
Normal file
@@ -0,0 +1,13 @@
|
||||
.PHONY: install
|
||||
|
||||
install:
|
||||
./update-motd.sh
|
||||
mkdir -p ${HOME}/Library/LaunchAgents/
|
||||
cp com.bruno21.update-motd.plist ${HOME}/Library/LaunchAgents/
|
||||
launchctl load -w ${HOME}/Library/LaunchAgents/com.bruno21.update-motd.plist
|
||||
launchctl list | grep .update-motd
|
||||
|
||||
uninstall:
|
||||
sudo launchctl unload -w ${HOME}/Library/LaunchAgents/com.bruno21.update-motd.plist
|
||||
rm ${HOME}/Library/LaunchAgents/com.bruno21.update-motd.plist
|
||||
launchctl list | grep update-motd || exit 0
|
||||
Reference in New Issue
Block a user