From d9e6f3fbd88802118b7a1e2c10f7e178e669785d Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Wed, 4 Jun 2025 15:48:16 +0200 Subject: [PATCH] Fix appstore and icon urls --- .../apps/com.micropythonos.camera/META-INF/MANIFEST.JSON | 4 ++-- .../apps/com.micropythonos.appstore/META-INF/MANIFEST.JSON | 4 ++-- .../apps/com.micropythonos.appstore/assets/appstore.py | 6 +++--- .../apps/com.micropythonos.launcher/META-INF/MANIFEST.JSON | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/internal_filesystem/apps/com.micropythonos.camera/META-INF/MANIFEST.JSON b/internal_filesystem/apps/com.micropythonos.camera/META-INF/MANIFEST.JSON index 6035587a..e8c3383c 100644 --- a/internal_filesystem/apps/com.micropythonos.camera/META-INF/MANIFEST.JSON +++ b/internal_filesystem/apps/com.micropythonos.camera/META-INF/MANIFEST.JSON @@ -3,8 +3,8 @@ "publisher": "MicroPythonOS", "short_description": "Camera with QR decoding", "long_description": "Camera for both internal camera's and webcams, that includes QR decoding.", -"icon_url": "https://apps.micropythonos.com/com.micropythonos.camera/icons/com.micropythonos.camera_0.0.3_64x64.png", -"download_url": "https://apps.micropythonos.com/com.micropythonos.camera/mpks/com.micropythonos.camera_0.0.3.mpk", +"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.camera/icons/com.micropythonos.camera_0.0.3_64x64.png", +"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.camera/mpks/com.micropythonos.camera_0.0.3.mpk", "fullname": "com.micropythonos.camera", "version": "0.0.3", "category": "camera", diff --git a/internal_filesystem/builtin/apps/com.micropythonos.appstore/META-INF/MANIFEST.JSON b/internal_filesystem/builtin/apps/com.micropythonos.appstore/META-INF/MANIFEST.JSON index ca846a9b..cd31e7b0 100644 --- a/internal_filesystem/builtin/apps/com.micropythonos.appstore/META-INF/MANIFEST.JSON +++ b/internal_filesystem/builtin/apps/com.micropythonos.appstore/META-INF/MANIFEST.JSON @@ -3,8 +3,8 @@ "publisher": "MicroPythonOS", "short_description": "Store for App(lication)s", "long_description": "", -"icon_url": "https://apps.micropythonos.com/com.micropythonos.appstore/icons/com.micropythonos.appstore_0.0.3_64x64.png", -"download_url": "https://apps.micropythonos.com/com.micropythonos.appstore/mpks/com.micropythonos.appstore_0.0.3.mpk", +"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.appstore/icons/com.micropythonos.appstore_0.0.3_64x64.png", +"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.appstore/mpks/com.micropythonos.appstore_0.0.3.mpk", "fullname": "com.micropythonos.appstore", "version": "0.0.3", "category": "appstore", diff --git a/internal_filesystem/builtin/apps/com.micropythonos.appstore/assets/appstore.py b/internal_filesystem/builtin/apps/com.micropythonos.appstore/assets/appstore.py index e56a8d21..d0bc22f7 100644 --- a/internal_filesystem/builtin/apps/com.micropythonos.appstore/assets/appstore.py +++ b/internal_filesystem/builtin/apps/com.micropythonos.appstore/assets/appstore.py @@ -322,7 +322,7 @@ class AppDetail(Activity): time.sleep(1) self.progress_bar.add_flag(lv.obj.FLAG.HIDDEN) self.progress_bar.set_value(0, lv.ANIM.OFF) - set_install_label(app_fullname) + self.set_install_label(app_fullname) self.install_button.add_flag(lv.obj.FLAG.CLICKABLE) if self.is_builtin_app(app_fullname): self.update_button.remove_flag(lv.obj.FLAG.HIDDEN) @@ -342,7 +342,7 @@ class AppDetail(Activity): if response.status_code != 200: print("Download failed: Status code", response.status_code) response.close() - set_install_label(app_fullname) + self.set_install_label(app_fullname) self.progress_bar.set_value(40, lv.ANIM.ON) time.sleep_ms(500) # Save the .mpk file to a temporary location @@ -390,7 +390,7 @@ class AppDetail(Activity): time.sleep(1) self.progress_bar.add_flag(lv.obj.FLAG.HIDDEN) self.progress_bar.set_value(0, lv.ANIM.OFF) - set_install_label(app_fullname) + self.set_install_label(app_fullname) self.install_button.add_flag(lv.obj.FLAG.CLICKABLE) @staticmethod diff --git a/internal_filesystem/builtin/apps/com.micropythonos.launcher/META-INF/MANIFEST.JSON b/internal_filesystem/builtin/apps/com.micropythonos.launcher/META-INF/MANIFEST.JSON index b8b5a765..72487f06 100644 --- a/internal_filesystem/builtin/apps/com.micropythonos.launcher/META-INF/MANIFEST.JSON +++ b/internal_filesystem/builtin/apps/com.micropythonos.launcher/META-INF/MANIFEST.JSON @@ -3,8 +3,8 @@ "publisher": "MicroPythonOS", "short_description": "Simple launcher to start apps.", "long_description": "", -"icon_url": "https://apps.micropythonos.com/com.micropythonos.launcher/icons/com.micropythonos.launcher_0.0.3_64x64.png", -"download_url": "https://apps.micropythonos.com/com.micropythonos.launcher/mpks/com.micropythonos.launcher_0.0.3.mpk", +"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.launcher/icons/com.micropythonos.launcher_0.0.3_64x64.png", +"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.launcher/mpks/com.micropythonos.launcher_0.0.3.mpk", "fullname": "com.micropythonos.launcher", "version": "0.0.3", "category": "launcher",