From 2751a8073fc31a036784a4890362d2da2772083f Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Wed, 23 Apr 2025 14:47:01 +0200 Subject: [PATCH] Add fallback icon --- apps/com.example.launcher/assets/main.py | 2 +- resources/icon_64x64.bin | Bin 0 -> 8204 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 resources/icon_64x64.bin diff --git a/apps/com.example.launcher/assets/main.py b/apps/com.example.launcher/assets/main.py index 179455c8..64722c40 100644 --- a/apps/com.example.launcher/assets/main.py +++ b/apps/com.example.launcher/assets/main.py @@ -42,7 +42,7 @@ for app_dir in [d for d in uos.listdir(apps_dir) if uos.stat(f"{apps_dir}/{d}")[ # Paths base_path = f"{apps_dir}/{app_dir}" #icon_path = f"{base_path}/res/mipmap-mdpi/launcher_icon.png" - icon_path = "/icon_64x64.bin" + icon_path = "/resources/icon_64x64.bin" manifest_path = f"{base_path}/META-INF/MANIFEST.MF" main_script = f"{base_path}/assets/main.py" # Get app name from MANIFEST.MF diff --git a/resources/icon_64x64.bin b/resources/icon_64x64.bin new file mode 100644 index 0000000000000000000000000000000000000000..ddf9eb8d5157acfa9c1384c3fcada235ba9cbe32 GIT binary patch literal 8204 zcmb0XVqkD!aA0U)U|{&1J_<)eU^E0qLtr!naD_m=pO(pUr4H?LuA2v-v|Me&00*g3 z{(iVzNgHuKKe**k#tQ9^VYIOeo2k!~pw^;Lr)`Sjv8krE*yeN;Ymqq3oaygy zibt{%gLzD90*zw=zx^Nwaq1Y-FeV7w&%m&dLC1D7jod(t{h&}_5#slwMQXrjzY^y` zkkxSPu6%*&sR6hBoI0D+C&lyFD!}arF|tg8s2UTv?LX%V$?F@!o(O_$hG8YnTq>5* zgzf*FZWP}p1+yJOQ?HaJ#(t0sP{RP^3hI>7#M%Ejy&w!^Cn{E8puChO*8b1wS|+Hr zLwJih&rwuL6L0@VEFl1K!!srFOKCjz`-0N{<@9&Hlb|{7r8dMqY$TTnd8ITV`;Fom z7}}(az%KB|Xel7Ok$)_A@Z3 zD{oFGY`?oQ@ji#BB-VZghGkOdr4Y!+=$O>@EAjTD+k~A@YCTO|`=2R6LX~)uy7udn z+;*p?{W{PZlX%~MPDiyrnN!DhLzrQ_V7$MdU^vJeNdChf*T|yewoQ=je{l}z0@r{nxxq|G$hN;sx zLD=uWfUU>pu8hrY>h;YK_A@Z7wn6v(1gxP?d8-Fu53>CX48ABiI4Is#2;KM8Y4zc< zpMinX>vX|4(`LZiJFt`fw*kY>#kkyW|M?+vV N1V%$(Gz5qZ0RW(c;P3zd literal 0 HcmV?d00001