- 版本号改为 0.2.0(构建号 2),更新日志标记为 0.2.0 · 2026-09-13 - release.sh 生成的 cask 指向 getopenstats.com/download;新增 publish_release.sh:上传 DMG、校验线上文件、提交 cask 到 homebrew-tap - 官网部署排除 /download/;官网下载按钮与 README 安装说明改为官网下载与 brew 命令
84 lines
2.2 KiB
YAML
84 lines
2.2 KiB
YAML
name: OpenStats
|
||
|
||
options:
|
||
bundleIdPrefix: com.openstats
|
||
deploymentTarget:
|
||
macOS: "14.0"
|
||
developmentLanguage: zh-Hans
|
||
createIntermediateGroups: true
|
||
groupSortPosition: top
|
||
|
||
settings:
|
||
base:
|
||
SWIFT_VERSION: "6.0"
|
||
MARKETING_VERSION: "0.2.0"
|
||
CURRENT_PROJECT_VERSION: "2"
|
||
MACOSX_DEPLOYMENT_TARGET: "14.0"
|
||
# 本地开发使用 ad-hoc 签名;发布时改为 Developer ID(见 docs/PLAN.md)
|
||
CODE_SIGN_STYLE: Manual
|
||
CODE_SIGN_IDENTITY: "-"
|
||
DEVELOPMENT_TEAM: ""
|
||
ENABLE_HARDENED_RUNTIME: YES
|
||
DEAD_CODE_STRIPPING: YES
|
||
ENABLE_USER_SCRIPT_SANDBOXING: YES
|
||
|
||
packages:
|
||
OpenStatsKit:
|
||
path: Packages/OpenStatsKit
|
||
|
||
targets:
|
||
OpenStats:
|
||
type: application
|
||
platform: macOS
|
||
sources:
|
||
- path: App
|
||
- path: Helper/com.openstats.helper.plist
|
||
buildPhase:
|
||
copyFiles:
|
||
destination: wrapper
|
||
subpath: Contents/Library/LaunchDaemons
|
||
info:
|
||
path: App/Info.plist
|
||
properties:
|
||
CFBundleName: OpenStats
|
||
CFBundleDisplayName: OpenStats
|
||
CFBundleShortVersionString: $(MARKETING_VERSION)
|
||
CFBundleVersion: $(CURRENT_PROJECT_VERSION)
|
||
CFBundleDevelopmentRegion: zh-Hans
|
||
LSMinimumSystemVersion: $(MACOSX_DEPLOYMENT_TARGET)
|
||
LSUIElement: true
|
||
LSApplicationCategoryType: public.app-category.utilities
|
||
NSHumanReadableCopyright: © 2026 OpenStats
|
||
settings:
|
||
base:
|
||
PRODUCT_NAME: OpenStats
|
||
PRODUCT_BUNDLE_IDENTIFIER: com.openstats.app
|
||
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
|
||
dependencies:
|
||
- package: OpenStatsKit
|
||
product: OpenStatsUI
|
||
- target: OpenStatsHelper
|
||
embed: true
|
||
copy:
|
||
destination: executables
|
||
|
||
OpenStatsHelper:
|
||
type: tool
|
||
platform: macOS
|
||
sources:
|
||
- path: Helper
|
||
excludes:
|
||
- "*.plist"
|
||
settings:
|
||
base:
|
||
PRODUCT_NAME: OpenStatsHelper
|
||
PRODUCT_BUNDLE_IDENTIFIER: com.openstats.helper
|
||
GENERATE_INFOPLIST_FILE: YES
|
||
CREATE_INFOPLIST_SECTION_IN_BINARY: YES
|
||
SKIP_INSTALL: YES
|
||
dependencies:
|
||
- package: OpenStatsKit
|
||
product: SMC
|
||
- package: OpenStatsKit
|
||
product: HelperShared
|