fix: 更新 .gitignore 文件以移除不必要的条目并保持清晰

fix: 修改 create_instance.sh 中的密码生成函数以确保失败时不会中断
This commit is contained in:
2026-05-07 12:03:17 +08:00
parent fbc5e6edff
commit fdf04d02e7
2 changed files with 3 additions and 7 deletions
+1 -5
View File
@@ -1,8 +1,4 @@
# Vibe Coding # Vibe Coding
.claude/ .claude/
.oprncode/ .oprncode/
.codex/
llmdoc/
.sisyphus/
.mcp.json
+2 -2
View File
@@ -120,7 +120,7 @@ check_dependencies() {
# 16位随机密码 # 16位随机密码
# #
generate_password() { generate_password() {
LC_ALL=C tr -dc 'A-Za-z0-9!#%&()*+,-.:;<=>?@[]^_~' </dev/urandom | head -c 16 LC_ALL=C tr -dc 'A-Za-z0-9!#%&()*+,-.:;<=>?@[]^_~' </dev/urandom | head -c 16 || true
} }
# #
@@ -463,4 +463,4 @@ main() {
} }
# 执行主函数 # 执行主函数
main "$@" main "$@"