Don't always disable shared content in iospatch module

This commit is contained in:
Campbell 2024-08-02 07:58:10 -04:00 committed by GitHub
parent 26b49ddff6
commit fc8bef61a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -106,7 +106,7 @@ def handle_iospatch(args):
if patch_count > 0 or args.version is not None or args.slot is not None:
# Set patched content to non-shared if that argument was passed.
if args.no_shared is not None:
if args.no_shared:
ios_patcher.title.content.content_records[ios_patcher.es_module_index].content_type = 1
if ios_patcher.dip_module_index != -1:
ios_patcher.title.content.content_records[ios_patcher.dip_module_index].content_type = 1