chore: 添加PowerShell启动脚本run.ps1

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
liuzhandCopilot committed 2026-04-01 20:31:23 +08:00
1 parent 1c74bbdcdb
commit f3ded93fec
1 file changed
+16
+16
View File
@@ -0,0 +1,16 @@
# ============================================
# Claude Code (Java) 启动脚本 - PowerShell 版
# 请在 Windows Terminal / PowerShell 中运行
# ============================================
# === JDK 25 配置 ===
$env:JAVA_HOME = "D:\Dev\jdk-25"
$env:Path = "D:\Dev\jdk-25\bin;$env:Path"
# === AI API 配置(按需修改) ===
# $env:ANTHROPIC_API_KEY = "your-api-key-here"
# $env:AI_MODEL = "claude-sonnet-4-20250514"
# === 启动应用 ===
Set-Location $PSScriptRoot
mvn spring-boot:run -q