From b510f542050ad54b9c4ff105db11c152a26c2b9e Mon Sep 17 00:00:00 2001 From: niklascfw Date: Fri, 24 Apr 2026 16:02:56 +0200 Subject: [PATCH] emulation.ini: stage Tico zip extract, mirror tico-* to SD root Unzip the release archive under tico-staging/, mirror_copy the versioned tico-* folder contents to /, then remove staging. Clears staging before extract to avoid leftover folders when the release name changes. Made-with: Cursor --- include/emulation/emulation.ini | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/emulation/emulation.ini b/include/emulation/emulation.ini index 5212093..9e83a8b 100644 --- a/include/emulation/emulation.ini +++ b/include/emulation/emulation.ini @@ -41,10 +41,14 @@ delete '/config/ultrahand/downloads/RetroArch_1.22.2.zip' [tico - 0.7.0] try: +delete /config/ultrahand/downloads/tico-staging/ +mkdir /config/ultrahand/downloads/tico-staging/ download https://api.github.com/repos/ticohq/tico/releases?per_page=1 /config/ultrahand/downloads/tico-api.json json_file /config/ultrahand/downloads/tico-api.json download {json_file(0,assets,0,browser_download_url)} /config/ultrahand/downloads/tico.zip -unzip /config/ultrahand/downloads/tico.zip / +unzip /config/ultrahand/downloads/tico.zip /config/ultrahand/downloads/tico-staging/ +mirror_copy /config/ultrahand/downloads/tico-staging/tico-* / delete /config/ultrahand/downloads/tico.zip delete /config/ultrahand/downloads/tico-api.json +delete /config/ultrahand/downloads/tico-staging/