We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4f7382 commit f0a8494Copy full SHA for f0a8494
src/tkui/tool.py
@@ -6348,8 +6348,8 @@ def unpack(chose, form: str = '') -> bool:
6348
os.remove(f"{work}/{i}.img")
6349
except (Exception, BaseException):
6350
win.message_pop(lang.warn11.format(i + ".img"))
6351
- if parts_dict[i] == 'amlogic':
6352
- aml_main(os.path.join(work, f"{dname}.img"), work)
+ if file_type == 'amlogic':
+ aml_main(os.path.join(project_manger.current_work_path(), f'{i}.img'), work)
6353
if file_type == 'unknown' and is_empty_img(f"{work}/{i}.img"):
6354
print(lang.text141)
6355
if not os.path.exists(f"{work}/config"):
0 commit comments