From 2d2aa337e4abfd58d863f835fd99648c550e48d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Fri, 9 Oct 2026 00:25:23 -0400 Subject: [PATCH] Say which mirror files region.sh links and that Global only hides China Apps --- docs/regions.md | 2 +- manual/52-china.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/regions.md b/docs/regions.md index 55079a4e..2dfb3f83 100644 --- a/docs/regions.md +++ b/docs/regions.md @@ -38,7 +38,7 @@ The China profile provides repository defaults only. Language is a separate inst ## Additions on the omarchycn branch -The `cn` profile here also carries developer mirrors: `environment.conf`, `cargo.toml`, `gemrc` and `maven-settings.xml`. `install/config/region.sh` links them into `/etc` and `/.cargo` for `cn`, removes only its own links for `global`, and refuses to replace a regular file it did not create. It reads the marker during installation; `omarchy region cn|global` passes the region it switches to. The region also gates _Install > China Apps_ and _Setup > Claude Code API_. Language stays out of every region: `omarchy language en|zh` owns `LANG`. +The `cn` profile here also carries developer mirrors: `environment.conf`, `cargo.toml`, `gemrc` and `maven-settings.xml`. `install/config/region.sh` links the first three into `/etc` and `/.cargo` for `cn`; Maven reads `maven-settings.xml` in place through the `MAVEN_ARGS` that `environment.conf` sets. The script removes only its own links for `global` and refuses to replace a regular file it did not create. It reads the marker during installation; `omarchy region cn|global` passes the region it switches to. The region also gates _Install > China Apps_ and _Setup > Claude Code API_. Language stays out of every region: `omarchy language en|zh` owns `LANG`. ## Remaining release validation diff --git a/manual/52-china.md b/manual/52-china.md index 65cae778..c4eb0eea 100644 --- a/manual/52-china.md +++ b/manual/52-china.md @@ -38,7 +38,7 @@ _Setup > Claude Code API_ points Claude Code at DeepSeek, Kimi Code, GLM, MiniMa ## Switching later -_Setup > Region_, or `omarchy region cn` and `omarchy region global`, switches the region. China runs a full system update, trusts the ArchLinuxCN keyring, records the region, moves pacman to the `.cn` mirrors and links the developer mirrors. Global moves pacman back to `.org` and removes the developer mirrors, China Apps and the Claude Code API setup. The developer mirrors change at the next login, so the switch offers to log out. +_Setup > Region_, or `omarchy region cn` and `omarchy region global`, switches the region. China runs a full system update, trusts the ArchLinuxCN keyring, records the region, moves pacman to the `.cn` mirrors and links the developer mirrors. Global moves pacman back to `.org`, removes the developer mirrors and the Claude Code API setup, and hides _Install > China Apps_; apps you installed from it stay. The developer mirrors change at the next login, so the switch offers to log out. _Setup > Language_, or `omarchy language zh` and `omarchy language en`, switches the system language. The menus and the desktop shell follow at the next login, so it offers to log out too.