Skip to content

Commit b0008d0

Browse files
authored
Add files via upload
1 parent f23f5ad commit b0008d0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

SystemOptimizationDisable.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/bin/bash
22

33
#Unload System Optimization
4-
launchctl unload -w /Users/$USER/Library/LaunchAgents/com.dev-coco.MacCleaner.plist && rm -rf /Users/$USER/Library/LaunchAgents/com.dev-coco.MacCleaner.plist
4+
launchctl unload -w /Users/$USER/Library/LaunchAgents/com.dev-coco.MacCleaner.plist
5+
rm -rf /Users/$USER/Library/LaunchAgents/com.dev-coco.MacCleaner.plist
56

67
#Enable Performance Mode
78
SystemVersion=`sw_vers -productVersion`

SystemOptimizationEnable.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
#Load Auto System Optimization
44
chmod +x /Applications/MacCleaner.app/Contents/Resources/AutoSystemOptimization.sh
5-
cd /Users/$USER/Library/LaunchAgents/ && curl -s https://raw.githubusercontent.com/dev-coco/MacCleaner/master/com.dev-coco.MacCleaner.plist -o com.dev-coco.MacCleaner.plist && sudo chmod +x /Users/$USER/Library/LaunchAgents/com.dev-coco.MacCleaner.plist && launchctl load -w /Users/$USER/Library/LaunchAgents/com.dev-coco.MacCleaner.plist
5+
cd /Users/$USER/Library/LaunchAgents/ && curl -s https://raw.githubusercontent.com/dev-coco/MacCleaner/master/com.dev-coco.MacCleaner.plist -o com.dev-coco.MacCleaner.plist && sudo chmod +x /Users/$USER/Library/LaunchAgents/com.dev-coco.MacCleaner.plist
6+
launchctl load -w /Users/$USER/Library/LaunchAgents/com.dev-coco.MacCleaner.plist
67

78
#Enable Performance Mode
89
SystemVersion=`sw_vers -productVersion`

0 commit comments

Comments
 (0)