Skip to content

Commit 39e21ed

Browse files
committed
fix: dont patch watch apps
oops, turns out i reverted this on accident
1 parent 6d38615 commit 39e21ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ipa.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ func findPlists(files []*zip.File, pluginsOnly bool) (plists []string, err error
6868
plists = append(plists, f.Name)
6969
continue
7070
}
71-
if strings.HasSuffix(f.Name, ".appex/Info.plist") {
72-
plists = append(plists, f.Name)
71+
if !strings.HasSuffix(f.Name, ".appex/Info.plist") {
7372
continue
7473
}
7574
if strings.Contains(f.Name, ".app/Watch") || strings.Contains(f.Name, ".app/WatchKit") || strings.Contains(f.Name, ".app/com.apple.WatchPlaceholder") {
7675
logger.Infof("found watch app at '%s', you might want to remove that", filepath.Dir(f.Name))
7776
continue
7877
}
78+
plists = append(plists, f.Name)
7979
}
8080

8181
if len(plists) == 0 {

0 commit comments

Comments
 (0)