Skip to content

Commit ded2806

Browse files
committed
Fixed display name in plist
1 parent ca0f78f commit ded2806

File tree

2 files changed

+3
-21
lines changed

2 files changed

+3
-21
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,7 @@ jobs:
144144
continue-on-error: true
145145

146146
# Artifacts
147-
- name: Upload packages (Linux)
148-
if: matrix.os == 'ubuntu-latest'
147+
- name: Upload packages
149148
uses: actions/upload-artifact@v4
150149
with:
151150
name: ${{ github.event.repository.name }}-${{ matrix.os }}-${{ matrix.arch }}-packages
@@ -156,24 +155,7 @@ jobs:
156155
build-Release/${{ github.event.repository.name }}-*.run
157156
build-Release/${{ github.event.repository.name }}-*.zip
158157
build-Release/${{ github.event.repository.name }}-*.tar.gz
159-
if-no-files-found: error
160-
161-
- name: Upload packages (Macos)
162-
if: matrix.os == 'macos-latest'
163-
uses: actions/upload-artifact@v4
164-
with:
165-
name: ${{ github.event.repository.name }}-${{ matrix.os }}-${{ matrix.arch }}-packages
166-
path: |
167158
build-Release/${{ github.event.repository.name }}-*.dmg
168-
if-no-files-found: error
169-
170-
- name: Upload packages (Windows)
171-
if: matrix.os == 'windows-latest'
172-
uses: actions/upload-artifact@v4
173-
with:
174-
name: ${{ github.event.repository.name }}-${{ matrix.os }}-${{ matrix.arch }}-packages
175-
path: |
176-
build-Release/${{ github.event.repository.name }}-*.zip
177159
build-Release/${{ github.event.repository.name }}-*.exe
178160
if-no-files-found: error
179161

src/cloud-client/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ elseif (APPLE)
7272
target_sources(cloud-client PRIVATE "${APP_ICON}")
7373

7474
add_custom_command(TARGET cloud-client POST_BUILD
75-
COMMAND /usr/libexec/PlistBuddy -c "Set :CFBundleName '${PROJECT_SHORT_NAME}'" "$<TARGET_BUNDLE_DIR_NAME:${PROJECT_TARGET_NAME}>/Contents/Info.plist"
76-
COMMAND /usr/libexec/PlistBuddy -c "Add :CFBundleDisplayName string '${PROJECT_SHORT_NAME}'" "$<TARGET_BUNDLE_DIR_NAME:${PROJECT_TARGET_NAME}>/Contents/Info.plist"
75+
COMMAND /usr/libexec/PlistBuddy -c "Set :CFBundleName string '${PROJECT_SHORT_NAME}'" "$<TARGET_BUNDLE_DIR_NAME:${PROJECT_TARGET_NAME}>/Contents/Info.plist" || /usr/libexec/PlistBuddy -c "Add :CFBundleName string '${PROJECT_SHORT_NAME}'" "$<TARGET_BUNDLE_DIR_NAME:${PROJECT_TARGET_NAME}>/Contents/Info.plist"
76+
COMMAND /usr/libexec/PlistBuddy -c "Set :CFBundleDisplayName string '${PROJECT_SHORT_NAME}'" "$<TARGET_BUNDLE_DIR_NAME:${PROJECT_TARGET_NAME}>/Contents/Info.plist" || /usr/libexec/PlistBuddy -c "Add :CFBundleDisplayName string '${PROJECT_SHORT_NAME}'" "$<TARGET_BUNDLE_DIR_NAME:${PROJECT_TARGET_NAME}>/Contents/Info.plist"
7777
COMMENT "Set CFBundleDisplayName"
7878
)
7979
endif()

0 commit comments

Comments
 (0)