Skip to content

Commit 9831fd0

Browse files
committed
fix: rename the application file on macOS
1 parent 89a4e4c commit 9831fd0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

admin/osx/gen_sym_files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
if len(sys.argv) < 4:
88
print("Usage:")
9-
print("\tgen_sym_files.py <path to breakpad's dump_syms> <path to owncloud.app> <symbol output dir>")
9+
print("\tgen_sym_files.py <path to breakpad's dump_syms> <path to ownCloud.app> <symbol output dir>")
1010
print("")
1111
print("Symbols will be created in './symbols'")
1212
sys.exit(1)

admin/osx/macosx.pkgproj.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<key>GID</key>
2727
<integer>80</integer>
2828
<key>PATH</key>
29-
<string>@APPLICATION_EXECUTABLE@.app</string>
29+
<string>@APPLICATION_NAME@.app</string>
3030
<key>PATH_TYPE</key>
3131
<integer>3</integer>
3232
<key>PERMISSIONS</key>

admin/osx/post_install.sh.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ LOGGED_IN_USER_ID=$(id -u "${USER}")
1111
# Always enable the new 10.10 finder plugin if available
1212
if [[ -x "$(command -v pluginkit)" ]]; then
1313
# add it to DB. This happens automatically too but we try to push it a bit harder for issue #3463
14-
pluginkit -a "/Applications/@APPLICATION_EXECUTABLE@.app/Contents/PlugIns/FinderSyncExt.appex/"
14+
pluginkit -a "/Applications/@APPLICATION_NAME@.app/Contents/PlugIns/FinderSyncExt.appex/"
1515
# Since El Capitan we need to sleep #4650
1616
sleep 10s
1717
# enable it

admin/osx/pre_install.sh.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
# don't grep in one line, to avaoid grepping the grep process...
1010
PROCESSES=$(ps aux)
11-
OC_INSTANCE=$(echo "${PROCESSES}" | grep "/Applications/@APPLICATION_EXECUTABLE@.app/Contents/MacOS/@APPLICATION_EXECUTABLE@")
11+
OC_INSTANCE=$(echo "${PROCESSES}" | grep "/Applications/@APPLICATION_NAME@.app/Contents/MacOS/@APPLICATION_EXECUTABLE@")
1212

1313
if [[ "${OC_INSTANCE}" != "" ]]; then
1414
kill $(echo "${OC_INSTANCE}" | awk '{print $2}')

0 commit comments

Comments
 (0)