Updating kiosk.sh

66 views
Skip to first unread message

RandyR

unread,
May 18, 2026, 2:48:08 PMMay 18
to PicoChess
Hi Johan,

I think we also need an easy way to update the kiosk.sh file that gets copied to the home folder on initial install. The updater currently won't do this. I guess the same is true for other files outside of /opt/picochess (e.g., systemd units).

Randy

Johan Sjöblom

unread,
May 18, 2026, 3:09:19 PMMay 18
to pico...@googlegroups.com
Ah. I have so far avoided changing any personal picochess.ini, or kiosk file as users might write their own improvements... But install-picochess should always install the latest system services.
But yes, the kiosk would need to be updated every now and then. Not sure what mechanism to use to detect if the user has made improvements in it... Should we have a standard that says that if the user adds a comment row like "dont touch" or "dont update", or just "dont whatever" then it would check by grep for the word "dont" and if its not present then it would update the kiosk file in users home? ... 
Any ideas on this? Of course we could also just make a backup of the kiosk.sh and then always overwrite it on install-picochess?
-- Johan


--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/picochess/1d249e47-5b6f-4e38-b85c-73df7c34559bn%40googlegroups.com.

Randy Reade

unread,
May 18, 2026, 4:29:38 PMMay 18
to pico...@googlegroups.com
Perhaps we could have a dedicated update menu where the user can choose items to update (PicoChess, engines, kiosk, books, etc.) with some indication that there are updated versions of the files available. Alternatively, just have a single option to do a full refresh/reset to defaults which would replace all installed files, including picochess.ini, with their latest versions. I guess that would be the nuclear option and would need appropriate warnings (and backups with ability to undo?). I think people who are customizing files wouldn't need to use that and would just use the current update method. I'm thinking of the novice users. And for the DGTPi users we might need a custom solution.

Just thinking out loud.

Randy

Johan Sjöblom

unread,
May 24, 2026, 10:59:02 AM (8 days ago) May 24
to PicoChess
I have opened a new issue for this: https://github.com/JohanSjoblom/picochess/issues/409
Reply all
Reply to author
Forward
0 new messages