Skip to content

Commit b0a514a

Browse files
committed
[status-im#5467] Make app searchable with Spotlight
Download app skeleton from Status repo and add Info.plist overlay with required metata to enable correct Spotlight indexing. Signed-off-by: gnl <[email protected]>
1 parent b9142e4 commit b0a514a

File tree

3 files changed

+26
-4
lines changed

3 files changed

+26
-4
lines changed

ci/Jenkinsfile.desktopbuild

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,12 @@ timeout(90) {
133133

134134
stage('Create MacOS Bundle') {
135135
dir(packageFolder) {
136-
sh 'git clone https://github.com/vkjr/StatusAppFiles.git'
137-
sh 'unzip StatusAppFiles/StatusIm.app.zip'
136+
sh 'curl -L -O "https://github.com/status-im/StatusAppFiles/raw/master/StatusIm.app.zip"'
137+
sh 'unzip StatusIm.app.zip'
138138
sh 'cp -r assets/share/assets StatusIm.app/Contents/MacOs'
139139
sh 'chmod +x StatusIm.app/Contents/MacOs/ubuntu-server'
140140
sh 'cp ../desktop/bin/StatusIm StatusIm.app/Contents/MacOs'
141+
sh 'cp -f ../deployment/macos/Info.plist StatusIm.app/Contents'
141142
sh """
142143
macdeployqt StatusIm.app -verbose=1 -dmg \\
143144
-qmldir='${workspace}/node_modules/react-native/ReactQt/runtime/src/qml/'

ci/Jenkinsfile.nightly_desktop

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,12 @@ parallel(
152152

153153
stage('Create MacOS Bundle') {
154154
dir(packageFolder) {
155-
sh 'git clone https://github.com/vkjr/StatusAppFiles.git'
156-
sh 'unzip StatusAppFiles/StatusIm.app.zip'
155+
sh 'curl -L -O "https://github.com/status-im/StatusAppFiles/raw/master/StatusIm.app.zip"'
156+
sh 'unzip StatusIm.app.zip'
157157
sh 'cp -r assets/share/assets StatusIm.app/Contents/MacOs'
158158
sh 'chmod +x StatusIm.app/Contents/MacOs/ubuntu-server'
159159
sh 'cp ../desktop/bin/StatusIm StatusIm.app/Contents/MacOs'
160+
sh 'cp -f ../deployment/macos/Info.plist StatusIm.app/Contents'
160161
sh """
161162
macdeployqt StatusIm.app -verbose=1 -dmg \\
162163
-qmldir='${workspace}/node_modules/react-native/ReactQt/runtime/src/qml/'

deployment/macos/Info.plist

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleIconFile</key>
6+
<string>status-icon</string>
7+
<key>NSHighResolutionCapable</key>
8+
<string>True</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>im.status.statusim</string>
11+
<key>CFBundleExecutable</key>
12+
<string>StatusIm</string>
13+
<key>CFBundlePackageType</key>
14+
<string>APPL</string>
15+
<key>NSPrincipalClass</key>
16+
<string>NSApplication</string>
17+
<key>CFBundleInfoDictionaryVersion</key>
18+
<string>6.0</string>
19+
</dict>
20+
</plist>

0 commit comments

Comments
 (0)