Set up Rime Ice from the ISO's assets on China installs

This commit is contained in:
ZacharyZhang-NY committed 2026-10-05 23:32:21 -04:00
1 parent b6bf851af4
commit 32ebf6b85b
6 files changed
+58 -2

No files matched your search

+1
View File
@@ -13,3 +13,4 @@ run_logged "$OMARCHY_INSTALL/user/hardware/vm-no-animations.sh"
run_logged "$OMARCHY_INSTALL/user/default-keyring.sh"
run_logged "$OMARCHY_INSTALL/user/mise.sh"
run_logged "$OMARCHY_INSTALL/user/region.sh"
+9
View File
@@ -0,0 +1,9 @@
region=$(omarchy-region)
if [[ $region == "China" ]]; then
if [[ $OMARCHY_SETUP_CONTEXT == "iso-chroot" ]]; then
rime-ice-installer --yes --asset-dir /opt/packages/rime-ice
else
echo "Skipping Rime Ice setup in $OMARCHY_SETUP_CONTEXT: only the ISO bundles its assets"
fi
fi