-
Notifications
You must be signed in to change notification settings - Fork 78
Expand file tree
/
Copy pathproject.yml
More file actions
178 lines (170 loc) · 5.78 KB
/
project.yml
File metadata and controls
178 lines (170 loc) · 5.78 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
name: Ora
options:
bundleIdPrefix: com.orabrowser
packages:
Sparkle:
url: https://github.com/sparkle-project/Sparkle
from: 2.6.0
Inject:
url: https://github.com/krzysztofzablocki/Inject
from: 1.5.2
FaviconFinder:
url: https://github.com/will-lumley/FavIconFinder
exactVersion: 5.1.5
SafariConverterLib:
url: https://github.com/AdguardTeam/SafariConverterLib
exactVersion: 4.2.2
targets:
ora:
type: application
platform: "macOS"
deploymentTarget: "15.0"
sources:
- path: ora
excludes:
- "Assets/Icons/**"
resources:
- path: ora/Shared/EmojiPicker/emoji-set.json
- path: ora/Resources
optional: true
dependencies:
- package: Sparkle
- package: Inject
- package: FaviconFinder
- package: SafariConverterLib
product: ContentBlockerConverter
preBuildScripts:
- name: "Copy Icon Bundle"
inputFiles:
- "$(SRCROOT)/ora/Assets/Icons/OraIcon.icon"
- "$(SRCROOT)/ora/Assets/Icons/OraIconDev.icon"
outputFiles:
- "$(BUILT_PRODUCTS_DIR)/$(PRODUCT_NAME).app/Contents/Resources/OraIcon.icon"
- "$(BUILT_PRODUCTS_DIR)/$(PRODUCT_NAME).app/Contents/Resources/OraIconDev.icon"
script: |
ICON_SRC_DEV="$SRCROOT/ora/Assets/Icons/OraIconDev.icon"
ICON_SRC_RELEASE="$SRCROOT/ora/Assets/Icons/OraIcon.icon"
ICON_DST="$BUILT_PRODUCTS_DIR/$PRODUCT_NAME.app/Contents/Resources/"
if [ "$CONFIGURATION" = "Debug" ]; then
echo "Using OraIconDev.icon for Debug build"
cp -R "$ICON_SRC_DEV" "$ICON_DST"
else
echo "Using OraIcon.icon for Release build"
cp -R "$ICON_SRC_RELEASE" "$ICON_DST"
fi
info:
path: ora/Info/Info.plist
properties:
SUFeedURL: "https://the-ora.github.io/browser/appcast.xml"
SUPublicEDKey: "Ozj+rezzbJAD76RfajtfQ7rFojJbpFSCl/0DcFSBCTI="
SUEnableAutomaticChecks: YES
SUEnableInstallerLauncherService: YES
CFBundleURLTypes:
- CFBundleURLName: Ora Browser
CFBundleTypeRole: Editor
LSHandlerRank: Owner
CFBundleURLSchemes:
- http
- https
CFBundleDocumentTypes:
- CFBundleTypeName: Web URL
CFBundleTypeRole: Viewer
LSHandlerRank: Owner
LSItemContentTypes:
- public.url
- CFBundleTypeName: HTML document
CFBundleTypeRole: Viewer
LSHandlerRank: Default
LSItemContentTypes:
- public.html
- CFBundleTypeName: XHTML document
CFBundleTypeRole: Viewer
LSHandlerRank: Default
LSItemContentTypes:
- public.xhtml
NSUserActivityTypes:
- NSUserActivityTypeBrowsingWeb
LSMinimumSystemVersion: "15.0"
LSApplicationCategoryType: public.app-category.web-browser
entitlements:
path: ora/Info/ora.entitlements
properties:
com.apple.security.app-sandbox: true
com.apple.security.assets.movies.read-only: true
com.apple.security.assets.music.read-only: true
com.apple.security.assets.pictures.read-only: true
com.apple.security.cs.allow-jit: true
com.apple.security.device.audio-input: true
com.apple.security.device.camera: true
com.apple.security.files.downloads.read-write: true
com.apple.security.files.user-selected.read-write: true
com.apple.security.network.client: true
com.apple.security.print: true
com.apple.security.temporary-exception.mach-lookup.global-name:
- "$(PRODUCT_BUNDLE_IDENTIFIER)-spks"
- "$(PRODUCT_BUNDLE_IDENTIFIER)-spki"
com.apple.developer.web-browser: true
com.apple.developer.web-browser.public-key-credential: true
settings:
base:
SWIFT_VERSION: 5.9
CODE_SIGN_STYLE: Automatic
MARKETING_VERSION: 0.2.14
CURRENT_PROJECT_VERSION: 105
PRODUCT_NAME: Ora
PRODUCT_BUNDLE_IDENTIFIER: com.orabrowser.app
GENERATE_INFOPLIST_FILE: YES
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor
SUFeedURL: "https://the-ora.github.io/browser/appcast.xml"
SUPublicEDKey: "Ozj+rezzbJAD76RfajtfQ7rFojJbpFSCl/0DcFSBCTI="
SUEnableAutomaticChecks: YES
SUEnableInstallerLauncherService: YES
configs:
Debug:
ASSETCATALOG_COMPILER_APPICON_NAME: OraIconDev
CODE_SIGN_ENTITLEMENTS: ora/Info/ora.entitlements
CODE_SIGN_STYLE: Manual
CODE_SIGN_IDENTITY: "Developer ID Application"
EMIT_FRONTEND_COMMAND_LINES: YES
OTHER_LDFLAGS: "-Xlinker -interposable"
ENABLE_HARDENED_RUNTIME: NO
DEVELOPMENT_TEAM: 3Y566D2A4G
PROVISIONING_PROFILE_SPECIFIER: ora-profile-working
Release:
ASSETCATALOG_COMPILER_APPICON_NAME: OraIcon
CODE_SIGN_ENTITLEMENTS: ora/Info/ora.entitlements
CODE_SIGN_STYLE: Manual
CODE_SIGN_IDENTITY: "Developer ID Application"
DEVELOPMENT_TEAM: 3Y566D2A4G
PROVISIONING_PROFILE_SPECIFIER: ora-profile-working
ENABLE_HARDENED_RUNTIME: YES
oraTests:
type: bundle.unit-test
platform: "macOS"
deploymentTarget: "15.0"
sources:
- path: oraTests
dependencies:
- target: ora
settings:
base:
TEST_HOST: "$(BUILT_PRODUCTS_DIR)/Ora.app/Contents/MacOS/Ora"
BUNDLE_LOADER: "$(TEST_HOST)"
schemes:
ora:
shared: true
build:
targets:
ora: all
run:
config: Debug
test:
config: Debug
targets:
- oraTests
profile:
config: Release
analyze:
config: Debug
archive:
config: Release