mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-24 12:51:36 +00:00
c890469d7f
primary target of pbzx is xcode .xip files that have an entry named Content instead of Payload
11 lines
422 B
Diff
11 lines
422 B
Diff
--- a/pbzx.c
|
|
+++ b/pbzx.c
|
|
@@ -127,7 +127,7 @@
|
|
xar_file_t f = xar_file_first(s->xar, i);
|
|
char* path = NULL;
|
|
/* Find the Payload file in the archive. */
|
|
- while (strncmp((path = xar_get_path(f)), "Payload", 7) &&
|
|
+ while (strncmp((path = xar_get_path(f)), "Content", 7) &&
|
|
(f = xar_file_next(i))) {
|
|
free(path);
|
|
}
|