搜索

PythonReactSEOPDF
GitHub Skill

ue-build

Build the SentryPlayground sample project for a target platform

getsentry☆ 160 仓库 Stars51 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Build the SentryPlayground sample project.

  1. Check the UNREAL_ENGINE_ROOT environment variable (use PowerShell .NET method on Windows: [System.Environment]::GetEnvironmentVariable('UNREAL_ENGINE_ROOT')). If unset or the path doesn't exist, ask the user for the engine path.

  2. Determine the target platform from conversation context using this lookup table. If no platform is mentioned, default to the host platform (Win64 on Windows, Mac on macOS, Linux on Linux). If ambiguous, ask the user.

    Alias Platform flag
    Win64, Windows Win64
    Mac, macOS Mac
    Android Android
    iOS IOS
    Linux Linux
    LinuxArm64 LinuxArm64
    XSX, Xbox Series XSX
    XB1, Xbox One XB1
    PS5, PlayStation PS5
    Switch, NX Switch
  3. Determine the build configuration: use Development by default, or Shipping if the user mentions it.

  4. Run the build command from the repository root:

# Windows
"$UNREAL_ENGINE_ROOT/Engine/Build/BatchFiles/RunUAT.bat" BuildCookRun \
    -project="$PWD/sample/SentryPlayground.uproject" \
    -archivedirectory="$PWD/sample/dist" \
    -platform=Win64 -clientconfig=Development \
    -build -cook -stage -package -archive -nop4

# macOS
"$UNREAL_ENGINE_ROOT/Engine/Build/BatchFiles/RunUAT.sh" BuildCookRun \
    -project="$PWD/sample/SentryPlayground.uproject" \
    -archivedirectory="$PWD/sample/dist" \
    -platform=Mac -clientconfig=Development \
    -build -cook -stage -package -archive -nop4

Substitute the platform and config values as determined above.

For Android Shipping builds, add the -distribution flag.

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-03-11
索引更新时间
2026-03-11
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!