optimimze maixtool release command

This commit is contained in:
Neucrack
2024-06-19 17:58:06 +08:00
parent 5a5a88093f
commit be65b379e0
2 changed files with 6 additions and 1 deletions

View File

@@ -120,6 +120,11 @@ def pack(project_path, bin_path="main.py", extra_files = {}):
app_info["files"] = get_files(project_path, app_info.get("exclude", []))
# append app_info["extra_include"] items
app_info["files"].update(app_info.get("extra_include", {}))
if type(app_info["files"]) == list:
li = app_info["files"]
app_info["files"] = {}
for k in li:
app_info["files"][k] = k
# copy main.py
if bin_path.endswith(".py"):

View File

@@ -1,4 +1,4 @@
__version__ = "1.2.4"
__version__ = "1.2.5"