Files
LanMountainDesktop/LanMountainDesktop/PACKAGING.md
lincube 85f7a18cbc 0.5.9
中文与插件市场
2026-03-10 12:14:49 +08:00

1.1 KiB
Raw Blame History

桌面端打包指南

中文

本指南说明阑山桌面的本地打包和 CI 打包流程。

前置条件

  • 安装 .NET SDK 10
  • Windows 安装包需要 Inno Setup 6ISCC.exe

本地打包命令

Windows 安装包

.\scripts\package.ps1 -RuntimeIdentifier win-x64 -Version 1.0.1

Linux 包

pwsh ./scripts/package.ps1 -RuntimeIdentifier linux-x64 -Version 1.0.1

macOS 包

pwsh ./scripts/package.ps1 -RuntimeIdentifier osx-x64 -Version 1.0.1

产物位置

  • 发布目录:artifacts/publish/<rid>
  • 安装包或压缩包:artifacts/installerartifacts/packages

CI 流程

  • 工作流文件:.github/workflows/windows-ci.yml
  • 日常构建会验证桌面端可编译
  • 手动触发或 v* 标签可生成正式包并上传到 Release

English

This guide covers local packaging and CI packaging for LanMountainDesktop.

Key points

  • use scripts/package.ps1 with the target runtime identifier
  • Windows installer requires Inno Setup
  • CI can publish artifacts and attach them to GitHub Releases