refactor: 脚本及配置文件命名统一用 _ 分隔

将 .sh/.bat 脚本与 .js/.plist/.Dockerfile 等文件中以 - 分隔的文件名
改为 _ 分隔,dcloud-renew 目录改为 dcloud、script_nuance 目录改为
nuance,并同步更新脚本内部引用与 README 路径。

Co-Authored-By: AtomCode (deepseek-v4-flash) <noreply@atomgit.com>
This commit is contained in:
luk
2026-08-25 15:11:50 +08:00
parent 42ef5b87a6
commit 9742f6dab2
156 changed files with 15 additions and 101 deletions

22
nvm_install.sh Executable file
View File

@@ -0,0 +1,22 @@
## 注意,这个安装脚本先会查看 NVM_DIR。如果是从其他用户 `su` 过来的,继承了这个变量 NVM_DIR=/home/原用户/.nvm导致无法安装在当前 root 用户下。
## 因此要么 `su -` 要么不使用安装脚本,而是直接执行脚本里的真正安装动作,即 git clone
# curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash
## Add these lines to your launch script such as .bashrc :
## '########################################################################'
## 'export NVM_DIR="$HOME/.nvm"'
## '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"'
## '[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"'
## '########################################################################'
## 取消被默认添加到 .bashrc 的设置already integrated in nixhome/.bashrc
# pushd ~/sysconfig
# git reset . && git checkout .
# popd
git clone https://github.com/nvm-sh/nvm.git ~/.nvm
echo
echo '############## If in China, set mirror before nvm install ##############'
echo export NVM_NODEJS_ORG_MIRROR=https://npmmirror.com/mirrors/node
echo '########################################################################'