fix maixtool deploy path bug

This commit is contained in:
Neucrack
2024-07-16 19:21:54 +08:00
parent f3b98299a7
commit 69a54b974a
2 changed files with 2 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ def deploy(port, pkg_path):
raise Exception(f"pakcage path {pkg_path} not exists")
else:
print(f"-- package path: {pkg_path}")
pkg_path = os.path.abspath(pkg_path)
serve(pkg_path, port)
def main():

View File

@@ -1,4 +1,4 @@
__version__ = "1.4.0"
__version__ = "1.4.1"