Skip to content

Commit 3f90276

Browse files
committed
update app imu_ahrs icon
1 parent f129aab commit 3f90276

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

projects/app_imu_ahrs/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ id: imu_ahrs
22
name: IMU AHRS
33
name[zh]: 姿态解算
44
version: 1.0.3
5-
#icon: assets/hello.png
5+
icon: assets/icon.png
66
author: Sipeed Ltd
77
desc: IMU AHRS
88
desc[zh]: IMU 姿态解算
2.6 KB
Loading

tools/gen_app_info.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
continue
3737
app_info_str += f'[{app_info["id"]}]\n'
3838
valid_keys = ["name", "version", "icon", "author", "desc"]
39+
if not "icon" in app_info:
40+
app_info["icon"] = "/maixapp/share/icon/icon.json"
3941
for k, v in app_info.items():
4042
valid = False
4143
for valid_k in valid_keys:

0 commit comments

Comments
 (0)