mirror of
https://github.com/NohamR/AM-Exporter.git
synced 2026-05-24 19:58:34 +00:00
readme + install.sh
This commit is contained in:
3
user/.env.example
Normal file
3
user/.env.example
Normal file
@@ -0,0 +1,3 @@
|
||||
USER = "user"
|
||||
PASSWORD = "password"
|
||||
URL_API = "https://api.example.com"
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user