#!/bin/sh
# rikkiti-update — interactive system upgrade in a terminal window. Launched by
# the panel's update-notification "Update now" button; works standalone too.
#
# Uses rikkiti-terminal so it opens whatever terminal the user picked in
# Settings ▸ Default Applications (with the same fallbacks). rikkiti-terminal
# handles the missing-terminal case (notifies the user) and the per-emulator
# command-flag differences, so we just hand it the upgrade script.
exec rikkiti-terminal -e sh -c '
	echo "── Rikkiti OS software update ──"
	sudo apt update && sudo apt full-upgrade
	echo
	printf "Done — press Enter to close. "
	read x
'
