#!/bin/bash
clear
echo
echo 'Remove quality of life improvements, QuickTime Pro, and 10.4.12 version number?'
while true
do
  read -p '(Enter yes or no, then authenticate)' answer
  case $answer in
   [yY]* )
echo
cd "$(dirname "$0")"
sudo rm -rf /Library/Widgets/Weather.wdgt
sudo mv -f ../../2.\ Optimizations/9.\ Streamlining/.Trimmings/Weather.wdgt /Library/Widgets
sudo rm -f /Library/Fonts/TwitterColorEmoji.ttf
sudo rm -f /Applications/Shuriken\ App\ Store.webloc
sudo rm -rf /Applications/Think
sudo rm -rf /Library/Screen\ Savers/*
sudo rm -f /Library/Preferences/com.apple.Safari.plist
sudo rm -f /Library/Preferences/com.apple.Dock.plist
sudo rm -f /usr/bin/about
sudo rm -f ~/Library/Cookies/Cookies.plist
sudo rm -f /Library/Preferences/com.apple.QuickTime.plist
sudo mv -f /System/Library/CoreServices/SystemVersionOriginal.plist /System/Library/CoreServices/SystemVersion.plist
mv -f '2. Enable QuickTime Pro (Active).command' 2.\ Enable\ QuickTime\ Pro.command
mv -f Disable\ QuickTime\ Pro.command 'Disable QuickTime Pro (Active).command'
mv -f '3. Use 10.4.12 Version Number (Active).command' 3.\ Use\ 10.4.12\ Version\ Number.command
mv -f Use\ 10.4.11\ Version\ Number.command 'Use 10.4.11 Version Number (Active).command'
osascript -e 'tell application "Finder" to set desktop picture to POSIX file "/Library/Desktop Pictures/Aqua Blue.jpg"'
mv -f '1. Add Quality of Life Improvements (Active).command' 1.\ Add\ Quality\ of\ Life\ Improvements.command
killall QuickTime\ Player Terminal
 break;;
   [nN]* ) killall Terminal;;
   * )  echo
	echo 'Please enter yes or no to proceed.'
	echo;;
  esac
done