You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Add example apps
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
Manifest-Version: 1.0
|
||||
Name: App1
|
||||
@@ -0,0 +1 @@
|
||||
print("running app1")
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 6.6 KiB |
@@ -0,0 +1,3 @@
|
||||
Manifest-Version: 1.0
|
||||
Name: App2
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
print("app2 is running")
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
@@ -65,6 +65,7 @@ def create_app_launcher():
|
||||
base_path = f"{apps_dir}/{app_dir}"
|
||||
icon_path = f"{base_path}/res/mipmap-mdpi/launcher_icon.png"
|
||||
manifest_path = f"{base_path}/META-INF/MANIFEST.MF"
|
||||
main_script = f"{base_path}/assets/main.py"
|
||||
# Get app name from MANIFEST.MF
|
||||
app_name = parse_manifest(manifest_path)
|
||||
# Create a container for each app (icon + label)
|
||||
|
||||
Reference in New Issue
Block a user