Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
watch fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Al4ise committed Jan 3, 2022
1 parent 8f2445e commit f99f116
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion azule
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ fi

# REMOVING WATCH APP
if [ -n "$remove_watchapp" ] || [ -n "$unzipped" ]; then
Announce "Removing Watch App..."
while read -r i; do
DTPlatformName="$(ExtractPlistValue DTPlatformName "$i")"
if [ "$DTPlatformName" == "watchos" ]; then
Expand All @@ -480,7 +481,7 @@ if [ -n "$remove_watchapp" ] || [ -n "$unzipped" ]; then
if [ -n "$status" ]; then
Verbose "Removed Watch App" "Couldn't Remove Watch App" -x
else
watch_app="$(find "$dir/$tweakid/Payload" -type d -name Watch.app)"
watch_app="$(find "$dir/$tweakid/Payload" -type d -name Watch.app -o -name Watch -o -name WatchApp.app)"
if [ -n "$watch_app" ]; then
rm -rf "$watch_app"
Verbose "Removed Watch App" "Couldn't Remove Watch App"
Expand Down

0 comments on commit f99f116

Please sign in to comment.