mirror of
https://github.com/tw93/Mole.git
synced 2026-02-16 18:10:17 +00:00
format
This commit is contained in:
@@ -513,7 +513,7 @@ find_app_files() {
|
||||
[[ -d ~/Library/Android ]] && files_to_clean+=("$HOME/Library/Android")
|
||||
[[ -d ~/.android ]] && files_to_clean+=("$HOME/.android")
|
||||
[[ -d ~/.gradle ]] && files_to_clean+=("$HOME/.gradle")
|
||||
[[ -d ~/Library/Application\ Support/Google ]] && \
|
||||
[[ -d ~/Library/Application\ Support/Google ]] &&
|
||||
while IFS= read -r -d '' dir; do files_to_clean+=("$dir"); done < <(find ~/Library/Application\ Support/Google -maxdepth 1 -name "AndroidStudio*" -print0 2> /dev/null)
|
||||
fi
|
||||
|
||||
@@ -526,11 +526,11 @@ find_app_files() {
|
||||
# IntelliJ IDEA, PyCharm, WebStorm, etc. (JetBrains IDEs)
|
||||
if [[ "$bundle_id" =~ jetbrains ]] || [[ "$app_name" =~ IntelliJ|PyCharm|WebStorm|GoLand|RubyMine|PhpStorm|CLion|DataGrip|Rider ]]; then
|
||||
local ide_name="$app_name"
|
||||
[[ -d ~/Library/Application\ Support/JetBrains ]] && \
|
||||
[[ -d ~/Library/Application\ Support/JetBrains ]] &&
|
||||
while IFS= read -r -d '' dir; do files_to_clean+=("$dir"); done < <(find ~/Library/Application\ Support/JetBrains -maxdepth 1 -name "${ide_name}*" -print0 2> /dev/null)
|
||||
[[ -d ~/Library/Caches/JetBrains ]] && \
|
||||
[[ -d ~/Library/Caches/JetBrains ]] &&
|
||||
while IFS= read -r -d '' dir; do files_to_clean+=("$dir"); done < <(find ~/Library/Caches/JetBrains -maxdepth 1 -name "${ide_name}*" -print0 2> /dev/null)
|
||||
[[ -d ~/Library/Logs/JetBrains ]] && \
|
||||
[[ -d ~/Library/Logs/JetBrains ]] &&
|
||||
while IFS= read -r -d '' dir; do files_to_clean+=("$dir"); done < <(find ~/Library/Logs/JetBrains -maxdepth 1 -name "${ide_name}*" -print0 2> /dev/null)
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user