You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Fix Camera icon path
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
"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.micropython.camera/icons/com.micropython.camera_0.0.3_64x64.png",
|
||||
"download_url": "https://apps.micropythonos.com/com.micropython.camera/mpks/com.micropython.camera_0.0.3.mpk",
|
||||
"fullname": "com.micropython.camera",
|
||||
"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",
|
||||
"fullname": "com.micropythonos.camera",
|
||||
"version": "0.0.3",
|
||||
"category": "camera",
|
||||
"activities": [
|
||||
|
||||
@@ -442,10 +442,12 @@ class AppDetail(Activity):
|
||||
def is_installed_by_path(dir_path):
|
||||
try:
|
||||
if os.stat(dir_path)[0] & 0x4000:
|
||||
print(f"is_installed_by_path: {dir_path} found, checking manifest...")
|
||||
manifest = f"{dir_path}/META-INF/MANIFEST.JSON"
|
||||
if os.stat(manifest)[0] & 0x8000:
|
||||
return True
|
||||
except OSError:
|
||||
print(f"is_installed_by_path got OSError for {dir_path}")
|
||||
pass # Skip if directory or manifest doesn't exist
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user