You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The service will automatically start when your Mac boots.
318
+
319
+
🆘 Need Help? Visit: https://github.com/Cleanuparr/Cleanuparr
320
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
321
+
MSGEOF
322
+
323
+
# Show completion message in Terminal (if available)
324
+
if command -v osascript >/dev/null 2>&1; then
325
+
osascript -e 'tell application "Terminal" to do script "cat /tmp/cleanuparr_install_complete.txt && echo && echo \"Press any key to close...\" && read -n 1 && exit"' 2>/dev/null || true
326
+
fi
327
+
328
+
# Also display as system notification
329
+
osascript -e 'display notification "Cleanuparr service started! Visit http://localhost:11011 in your browser." with title "Installation Complete"' 2>/dev/null || true
330
+
331
+
# Clean up
332
+
rm -f /tmp/cleanuparr_install_complete.txt
247
333
248
334
exit 0
249
335
EOF
250
336
251
337
chmod +x scripts/postinstall
252
338
253
-
# Create preinstall script to handle existing installations
254
-
cat > scripts/preinstall << 'EOF'
339
+
# Create uninstall script (optional, for user reference)
340
+
cat > scripts/uninstall_cleanuparr.sh << 'EOF'
255
341
#!/bin/bash
342
+
# Cleanuparr Uninstall Script
343
+
# Run this script with sudo to completely remove Cleanuparr
The service will automatically start when your Mac boots.
318
+
319
+
🆘 Need Help? Visit: https://github.com/Cleanuparr/Cleanuparr
320
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
321
+
MSGEOF
322
+
323
+
# Show completion message in Terminal (if available)
324
+
if command -v osascript >/dev/null 2>&1; then
325
+
osascript -e 'tell application "Terminal" to do script "cat /tmp/cleanuparr_install_complete.txt && echo && echo \"Press any key to close...\" && read -n 1 && exit"' 2>/dev/null || true
326
+
fi
327
+
328
+
# Also display as system notification
329
+
osascript -e 'display notification "Cleanuparr service started! Visit http://localhost:11011 in your browser." with title "Installation Complete"' 2>/dev/null || true
330
+
331
+
# Clean up
332
+
rm -f /tmp/cleanuparr_install_complete.txt
247
333
248
334
exit 0
249
335
EOF
250
336
251
337
chmod +x scripts/postinstall
252
338
253
-
# Create preinstall script to handle existing installations
254
-
cat > scripts/preinstall << 'EOF'
339
+
# Create uninstall script (optional, for user reference)
340
+
cat > scripts/uninstall_cleanuparr.sh << 'EOF'
255
341
#!/bin/bash
342
+
# Cleanuparr Uninstall Script
343
+
# Run this script with sudo to completely remove Cleanuparr
0 commit comments