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

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
pull/1/head
liuzh 1 month ago
parent 1c74bbdcdb
commit f3ded93fec
  1. 16
      run.ps1

@ -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
Loading…
Cancel
Save