mirror of
https://github.com/sipeed/MaixCDK.git
synced 2026-11-09 17:04:38 -06:00
optimimze maixtool release command
This commit is contained in:
@@ -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"):
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
|
||||
|
||||
__version__ = "1.2.4"
|
||||
__version__ = "1.2.5"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user