-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathproject.yml
More file actions
64 lines (61 loc) · 2.17 KB
/
project.yml
File metadata and controls
64 lines (61 loc) · 2.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: Deckard
options:
bundleIdPrefix: com.deckard
deploymentTarget:
macOS: "14.0"
xcodeVersion: "16.0"
createIntermediateGroups: true
packages:
Sparkle:
url: https://github.com/sparkle-project/Sparkle
majorVersion: 2.0.0
settings:
base:
SWIFT_VERSION: "5.0"
MACOSX_DEPLOYMENT_TARGET: "14.0"
targets:
Deckard:
type: application
platform: macOS
sources:
- path: Sources
type: group
resources:
- path: Resources/bin
buildPhase: resources
- path: Resources/Assets.xcassets
postCompileScripts:
- script: |
mkdir -p "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/bin"
cp -f "${PROJECT_DIR}/Resources/AppIcon.icns" "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AppIcon.icns"
cp -f "${PROJECT_DIR}/Resources/Credits.html" "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Credits.html"
cp -f "${PROJECT_DIR}/Resources/bin/claude" "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/bin/claude"
chmod +x "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/bin/claude"
name: Copy Resources
postBuildScripts:
- script: |
/usr/libexec/PlistBuddy -c "Add :CFBundleIconFile string AppIcon" "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}" 2>/dev/null
/usr/libexec/PlistBuddy -c "Set :CFBundleIconFile AppIcon" "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}" 2>/dev/null
exit 0
name: Set App Icon
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.deckard.app
PRODUCT_NAME: Deckard
INFOPLIST_FILE: Resources/Info.plist
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
SWIFT_OBJC_BRIDGING_HEADER: Sources/App/Deckard-Bridging-Header.h
ENABLE_HARDENED_RUNTIME: YES
debug:
CODE_SIGN_IDENTITY: "-"
CODE_SIGN_STYLE: Manual
release:
CODE_SIGN_STYLE: Automatic
DEVELOPMENT_TEAM: TATY79TCRY
dependencies:
- package: Sparkle
entitlements:
path: Resources/Deckard.entitlements
properties:
com.apple.security.app-sandbox: false
com.apple.security.network.client: true