This repository has been archived by the owner on Aug 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
chmod +x uninstall.sh | ||
chmod +x src/hidemydesk | ||
chmod +x src/hidemydesk | ||
cp src/hidemydesk /usr/local/bin/hidemydesk | ||
cp src/hidemydesk2 /Applications/hidemydesk | ||
chmod 777 /usr/local/bin/hidemydesk | ||
chmod 777 /Applications/hidemydesk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/sh | ||
|
||
value=$(defaults read com.apple.Finder CreateDesktop 2>&1) | ||
#echo "$value" | ||
|
||
if [ "$value" = "true" ] ; then | ||
defaults write com.apple.finder CreateDesktop false | ||
killall Finder | ||
echo "Desktop hidden." | ||
elif [ "$value" = "false" ] ; then | ||
defaults write com.apple.finder CreateDesktop true | ||
killall Finder | ||
echo "Desktop visible." | ||
elif [[ "$value" =~ .*"not extist".* ]] ; then | ||
defaults write com.apple.finder CreateDesktop false | ||
killall Finder | ||
echo "Desktop hidden." | ||
else | ||
defaults write com.apple.finder CreateDesktop true | ||
killall Finder | ||
echo "Sucessfully setup." | ||
defaults write com.apple.finder CreateDesktop false | ||
killall Finder | ||
echo "Desktop hidden." | ||
echo "\nMade by Taguar258" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/sh | ||
|
||
value=$(defaults read com.apple.Finder CreateDesktop 2>&1) | ||
#echo "$value" | ||
|
||
if [ "$value" = "true" ] ; then | ||
defaults write com.apple.finder CreateDesktop false | ||
killall Finder | ||
echo "Desktop hidden." | ||
elif [ "$value" = "false" ] ; then | ||
defaults write com.apple.finder CreateDesktop true | ||
killall Finder | ||
echo "Desktop visible." | ||
elif [[ "$value" =~ .*"not extist".* ]] ; then | ||
defaults write com.apple.finder CreateDesktop false | ||
killall Finder | ||
echo "Desktop hidden." | ||
else | ||
defaults write com.apple.finder CreateDesktop true | ||
killall Finder | ||
echo "Sucessfully setup." | ||
defaults write com.apple.finder CreateDesktop false | ||
killall Finder | ||
echo "Desktop hidden." | ||
echo "\nMade by Taguar258" | ||
fi | ||
|
||
osascript -e "tell application \"System Events\" to keystroke \"w\" using command down" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
rm /usr/local/bin/hidemydesk | ||
rm /Applications/hidemydesk |