-
Notifications
You must be signed in to change notification settings - Fork 918
Closed
Labels
freshissueDefault label for new, untriaged issues.Default label for new, untriaged issues.
Description
The - version of line 230 in the path of object/tiles/patchers/android.py needs to be compatible
I made the modifications directly because it was for my own use
self.required_commands['apktool']['location'],
'-version',
]), timeout=self.command_run_timeout).out.strip()
Change to
o = delegator.run(self.list2cmdline([
self.required_commands['apktool']['location'],
'version',
]), timeout=self.command_run_timeout).out.strip()
I have also deleted the two judgments at line 403, which seem to generate two '' statements in the command, causing the instruction to error
o = delegator.run(self.list2cmdline([
self.required_commands['apktool']['location'],
'decode',
'-f',
'-r' if self.skip_resources else '',
'--only-main-classes' if self.only_main_classes else '',
'-o',
self.apk_temp_directory,
self.apk_source
] + ([] if fix_concurrency_to is None else ['-j', fix_concurrency_to])), timeout=self.command_run_timeout)
Change to
o = delegator.run(self.list2cmdline([
self.required_commands['apktool']['location'],
'decode',
'-f',
'-o',
self.apk_temp_directory,
self.apk_source
] + ([] if fix_concurrency_to is None else ['-j', fix_concurrency_to])), timeout=self.command_run_timeout)
Metadata
Metadata
Assignees
Labels
freshissueDefault label for new, untriaged issues.Default label for new, untriaged issues.