diff --git a/modules/firmware_apps/app_store.py b/modules/firmware_apps/app_store.py index 6272f85..3229137 100644 --- a/modules/firmware_apps/app_store.py +++ b/modules/firmware_apps/app_store.py @@ -37,8 +37,8 @@ def file_exists(filename): APP_STORE_LISTING_URL = "https://apps.badge.emfcamp.org/demo_api/apps.json" CODE_INSTALL = "CodeInstall" -AVAILABLE = "Available" -INSTALLED = "Installed" +AVAILABLE = "StoreInstall" +INSTALLED = "Uninstall" UPDATE = "Update" REFRESH = "Refresh Apps" @@ -353,7 +353,7 @@ def install_app(app): print("GC") gc.collect() - print(f"Getting {app["tarballUrl"]}") + print(f"Getting {app['tarballUrl']}") tarball = get(app["tarballUrl"]) # tarballGenerator = self.download_file(app["tarballUrl"]) diff --git a/modules/system/launcher/app.py b/modules/system/launcher/app.py index 4810c8e..8678d2a 100644 --- a/modules/system/launcher/app.py +++ b/modules/system/launcher/app.py @@ -157,7 +157,7 @@ def launch(self, item): except Exception as e: print(f"Error creating app: {e}") eventbus.emit( - ShowNotificationEvent(message=f"{item["name"]} has crashed") + ShowNotificationEvent(message=f"{item['name']} has crashed") ) return self._apps[app_id] = app