@@ -184,6 +184,30 @@ if type "composer" &>/dev/null; then
184184 composer clearcache & > /dev/null
185185fi
186186
187+ # Deletes Steam caches, logs, and temp files
188+ # -Astro
189+ if [ -d ~ /Library/Application\ Support/Steam/ ]; then
190+ msg ' Clearing Steam Cache, Log, and Temp Files...'
191+ rm -rfv ~ /Library/Application\ Support/Steam/appcache & > /dev/null
192+ rm -rfv ~ /Library/Application\ Support/Steam/depotcache & > /dev/null
193+ rm -rfv ~ /Library/Application\ Support/Steam/logs & > /dev/null
194+ rm -rfv ~ /Library/Application\ Support/Steam/steamapps/shadercache & > /dev/null
195+ rm -rfv ~ /Library/Application\ Support/Steam/steamapps/temp & > /dev/null
196+ rm -rfv ~ /Library/Application\ Support/Steam/steamapps/download & > /dev/null
197+ fi
198+
199+ # Deletes Minecraft logs
200+ # -Astro
201+ if [ -d ~ /Library/Application\ Support/minecraft ]; then
202+ msg ' Clearing Minecraft Cache and Log Files...'
203+ rm -rfv ~ /Library/Application\ Support/minecraft/logs & > /dev/null
204+ rm -rfv ~ /Library/Application\ Support/minecraft/crash-reports & > /dev/null
205+ rm -rfv ~ /Library/Application\ Support/minecraft/webcache & > /dev/null
206+ rm -rfv ~ /Library/Application\ Support/minecraft/webcache2 & > /dev/null
207+ rm -rfv ~ /Library/Application\ Support/minecraft/crash-reports & > /dev/null
208+ rm -rfv ~ /Library/Application\ Support/minecraft/* .log & > /dev/null
209+ fi
210+
187211if type " brew" & > /dev/null; then
188212 if [ " $update " = true ]; then
189213 msg ' Updating Homebrew Recipes...'
0 commit comments