22-03-2025

-Makefile
-.plist
This commit is contained in:
2025-03-22 15:17:44 +01:00
parent f0bc67729a
commit 93365a5492
2 changed files with 82 additions and 0 deletions

13
Makefile Normal file
View 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