Skip to content

Commit 9eed191

Browse files
committed
Try to fixup Icon on Ubuntu 24.04 by adding StartupWMClass and move to debian folder for clarity
1 parent a2999af commit 9eed191

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -887,12 +887,12 @@ elseif(UNIX)
887887
# Create a proper App with file associations
888888

889889
# Install the .desktop manifest (allows the App to be seen in the Dash and adding to the dock, and to map it a mimetype)
890-
# install(FILES "${PROJECT_SOURCE_DIR}/src/openstudio_app/openstudioapp.desktop" DESTINATION /usr/share/applications)
891-
install(FILES "${PROJECT_SOURCE_DIR}/src/openstudio_app/openstudioapp.desktop" DESTINATION Temp/)
890+
# install(FILES "${PROJECT_SOURCE_DIR}/debian/openstudioapp.desktop" DESTINATION /usr/share/applications)
891+
install(FILES "${PROJECT_SOURCE_DIR}/debian/openstudioapp.desktop" DESTINATION Temp/)
892892

893893
# Install the XML mime info
894-
# install(FILES "${PROJECT_SOURCE_DIR}/src/openstudio_app/x-openstudio.xml" DESTINATION /usr/share/mime/application)
895-
install(FILES "${PROJECT_SOURCE_DIR}/src/openstudio_app/x-openstudio.xml" DESTINATION Temp/)
894+
# install(FILES "${PROJECT_SOURCE_DIR}/debian/x-openstudio.xml" DESTINATION /usr/share/mime/application)
895+
install(FILES "${PROJECT_SOURCE_DIR}/debian/x-openstudio.xml" DESTINATION Temp/)
896896

897897
set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA "${CPACK_DEBIAN_BIN_PACKAGE_CONTROL_EXTRA};${POSTINST_FILE};${POSTRM_FILE}")
898898

src/openstudio_app/openstudioapp.desktop renamed to debian/openstudioapp.desktop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ Icon=openstudioapp
99
Terminal=false
1010
Categories=Utility;X-OpenStudio;X-EnergyModeling;
1111
MimeType=application/x-openstudio;
12-
12+
StartupWMClass=OpenStudioApp
File renamed without changes.

0 commit comments

Comments
 (0)