feat(install): admin check, i18n, CN defaults#116
Merged
duguwanglong merged 3 commits intomainfrom Apr 14, 2026
Merged
Conversation
added 3 commits
April 14, 2026 14:31
- Assert Windows administrator in bootstrap and scripts/install PowerShell - install_zh bootstrap: default FLOCKS_* mirrors (uv astral.org.cn, Aliyun PyPI, npmmirror) - install_zh.sh: export language and uv install URLs in configure_cn_environment - scripts/install.sh/ps1: FLOCKS_INSTALL_LANGUAGE drives zh/cn messages and clone hints - Configurable uv install script URL; bash npm global prefix checks - README_zh: point quick install to install_zh scripts; extend install script tests - uv.lock: dependency sync Made-with: Cursor
- PowerShell: Start-Process npx so download progress streams; resolve exe via recursive search - Bash: resolve_chrome_for_testing_path_from_dir with globstar; stream npx to stderr - Remove redundant TUI skip messages when --with-tui is not used - Update browser installer and process-cleanup contract tests Made-with: Cursor
- Warn and continue when npx is missing, CfT install fails, or exe is unresolved - Reuse browser under ~/.flocks/browser before running npx install - Bash: add warn() for localized warnings; install_chrome_for_testing returns non-zero on skip - Update browser runtime contract tests Made-with: Cursor
duguwanglong
approved these changes
Apr 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
install.ps1,install_zh.ps1) andscripts/install.ps1.install_zhbootstrap: default CN-friendly env (FLOCKS_INSTALL_LANGUAGE, Aliyun PyPI, astral.org.cn uv installers, npmmirror npm, Node.js zh download page).scripts/install.sh/install.ps1:FLOCKS_INSTALL_LANGUAGEdrives zh/cn vs English messages, clone hints, and uv install script URL (FLOCKS_UV_INSTALL_SH_URL/FLOCKS_UV_INSTALL_PS1_URL).install_zhscripts aligned with CN defaults.README_zh.md: quick install points toinstall_zhscripts.test_install_script_sources.py;test_install_script_help.pyupdated.