diff --git a/PRD.md b/PRD.md index a98bd34..42f89f1 100644 --- a/PRD.md +++ b/PRD.md @@ -8,7 +8,7 @@ - 隐私敏感用户:仅本地处理(除下载外),可控与可复现。 ## 范围与约束(MVP) -- 平台:macOS 26(Apple Silicon)。 +- 平台:macOS 14 Sonoma 或更高版本(Apple Silicon)。 - 依赖:Homebrew 安装的 `yt-dlp`、`ffmpeg`、`yap`;仅检测缺失并提示,不代安装。 - 识别:仅用 `yap` CLI(不写任何 native 代码,不用 macOS Speech)。 - 字幕:仅 SRT;官方字幕优先且只接受英文(含 `en-auto`),其余语言一律忽略;保留官方 `captions.vtt` 与转出的 `subs_en.srt`。 diff --git a/README.md b/README.md index b739eed..e00994d 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Before running TransCube, make sure you have these tools installed: #### Using Homebrew (macOS) -Note: Requires macOS 26 or later. +Note: Requires macOS 14 (Sonoma) or later. ```bash brew install --cask strrl/collective/transcube diff --git a/build/darwin/Info.dev.plist b/build/darwin/Info.dev.plist index c024742..67ea215 100644 --- a/build/darwin/Info.dev.plist +++ b/build/darwin/Info.dev.plist @@ -18,7 +18,7 @@ CFBundleIconFile iconfile LSMinimumSystemVersion - 26.0 + 14.0 NSHighResolutionCapable true NSHumanReadableCopyright diff --git a/build/darwin/Info.plist b/build/darwin/Info.plist index b22c2fd..d410b22 100644 --- a/build/darwin/Info.plist +++ b/build/darwin/Info.plist @@ -18,7 +18,7 @@ CFBundleIconFile iconfile LSMinimumSystemVersion - 26.0 + 14.0 NSHighResolutionCapable true NSHumanReadableCopyright diff --git a/scripts/build.sh b/scripts/build.sh index 5697c18..ebb3403 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -118,7 +118,7 @@ VERSION_MODIFIED=true echo "Building version $VERSION..." # Enforce minimum macOS version at link time when building on macOS if [[ "$OSTYPE" == "darwin"* ]]; then - export MACOSX_DEPLOYMENT_TARGET="26.0" + export MACOSX_DEPLOYMENT_TARGET="14.0" fi wails build -clean diff --git a/scripts/sign-and-notarize.sh b/scripts/sign-and-notarize.sh index 6e7343c..576a374 100755 --- a/scripts/sign-and-notarize.sh +++ b/scripts/sign-and-notarize.sh @@ -49,7 +49,7 @@ fi # Build app echo -e "${GREEN}📦 Building app...${NC}" # Enforce minimum macOS version at link time -export MACOSX_DEPLOYMENT_TARGET="26.0" +export MACOSX_DEPLOYMENT_TARGET="14.0" wails build -platform darwin/universal -clean APP_PATH="build/bin/transcube-webapp.app"