Skip to content

Commit f0a8494

Browse files
add squash support
1 parent c4f7382 commit f0a8494

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tkui/tool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6348,8 +6348,8 @@ def unpack(chose, form: str = '') -> bool:
63486348
os.remove(f"{work}/{i}.img")
63496349
except (Exception, BaseException):
63506350
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)
6351+
if file_type == 'amlogic':
6352+
aml_main(os.path.join(project_manger.current_work_path(), f'{i}.img'), work)
63536353
if file_type == 'unknown' and is_empty_img(f"{work}/{i}.img"):
63546354
print(lang.text141)
63556355
if not os.path.exists(f"{work}/config"):

0 commit comments

Comments
 (0)