diff --git a/examples/tools/install_app.py b/examples/tools/install_app.py index d9c8b570..e300723b 100644 --- a/examples/tools/install_app.py +++ b/examples/tools/install_app.py @@ -3,7 +3,7 @@ def install_app(pkg_path): if not os.path.exists(pkg_path): raise Exception(f"package {pkg_path} not found") - cmd = f"/maixapp/apps/app_store/app_store install {pkg_path}" + cmd = f"chmod +x /maixapp/apps/app_store/app_store && /maixapp/apps/app_store/app_store install {pkg_path}" err_code = os.system(cmd) if err_code != 0: print("[ERROR] Install failed, error code:", err_code) diff --git a/examples/tools/install_runtime.py b/examples/tools/install_runtime.py index 49baa6ac..60133c24 100644 --- a/examples/tools/install_runtime.py +++ b/examples/tools/install_runtime.py @@ -1,7 +1,7 @@ import os def install_runtime(): - cmd = f"/maixapp/apps/app_store/settings install_runtime" + cmd = f"chmod +x /maixapp/apps/settings/settings && /maixapp/apps/settings/settings install_runtime" err_code = os.system(cmd) if err_code != 0: print("[ERROR] Install failed, error code:", err_code) diff --git a/projects/app_face_tracking/app.yaml b/projects/app_face_tracking/app.yaml index de0ff108..3780bdd8 100644 --- a/projects/app_face_tracking/app.yaml +++ b/projects/app_face_tracking/app.yaml @@ -7,6 +7,7 @@ icon: assets/face_tracking.json desc: Face tracking with MaixCAM and gimbal. desc[zh]: 使用 MaixCAM 和云台进行人脸跟踪。 files: - - app.yaml: app.yaml - - assets: assets - - README.md: README.md + - app.yaml + - assets + - README.md + - face_tracking