fix domain sorting error

This commit is contained in:
leminlimez
2025-03-30 15:28:51 -04:00
parent fa325c0281
commit 9c915002e2
2 changed files with 4 additions and 4 deletions

View File

@@ -246,7 +246,7 @@ class DeviceManager:
# returns Domain: str?, Path: str
if self.get_current_device_supported() and not path.startswith("/var/mobile/") and not owner == 0:
# don't do anything on sparserestore versions
return path, None
return path, ""
fully_patched = self.get_current_device_patched()
# just make the Sys Containers to use the regular way (won't work for mga)
sysSharedContainer = "SysSharedContainerDomain-"
@@ -274,7 +274,7 @@ class DeviceManager:
new_domain += parts[0]
new_path = new_path.replace(parts[0] + "/", "")
return new_path, new_domain
return path, None
return path, ""
def concat_file(self, contents: str, path: str, files_to_restore: list[FileToRestore], owner: int = 501, group: int = 501):
# TODO: try using inodes here instead