File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -130,9 +130,9 @@ def repair_dex(
130130 if not os .path .isdir (output_dex_path ):
131131 raise DexRepairError (f"{ output_dex_path } not a directory!" )
132132 print (f"Repairing { file_path } ..." )
133- repair_dex_file (file_path , output_file_path , repair_sha1 )
133+ repair_dex_file (file_path , repair_sha1 , output_file_path )
134134 elif os .path .isfile (dex_path ):
135- repair_dex_file (dex_path , output_dex_path )
135+ repair_dex_file (dex_path , repair_sha1 , output_dex_path )
136136 else :
137137 raise DexRepairError (f"Path not found: { dex_path } " )
138138
@@ -188,7 +188,7 @@ def main():
188188 output = args .dex_file .replace (".dex" , "_repaired.dex" )
189189
190190 try :
191- repair_dex (args .dex_file , output , args .sha )
191+ repair_dex (args .dex_file , args .sha , output )
192192 print ("DEX repair completed successfully." )
193193
194194 except DexRepairError as e :
You can’t perform that action at this time.
0 commit comments