readme + install.sh

This commit is contained in:
√(noham)²
2024-03-21 18:31:41 +01:00
parent c722db5d58
commit 515684e5ce
4 changed files with 14 additions and 3 deletions

3
user/.env.example Normal file
View File

@@ -0,0 +1,3 @@
USER = "user"
PASSWORD = "password"
URL_API = "https://api.example.com"

View File

@@ -6,4 +6,10 @@ cp -f music-exp.plist ~/Library/LaunchAgents/
echo --- Load launch agent
launchctl load ~/Library/LaunchAgents/music-exp.plist
echo --- INSTALL SUCCESS
if launchctl list | grep am.noh.music-exp; then
echo "--- Agent successfully loaded"
echo "--- INSTALL SUCCESS"
else
echo "--- ERROR: Agent failed to load"
fi