mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Use a displayname for the icon's title
This commit is contained in:
parent
4caa6922b3
commit
4bcfba75fd
@ -178,7 +178,7 @@ if ("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
|
||||
if (USE_APPIMAGE)
|
||||
include (LinuxAppImageBuild)
|
||||
set (CMAKE_PACKAGED_OUTPUT_PREFIX ${CMAKE_INSTALL_PREFIX})
|
||||
APPIMAGE_PACKAGE (planetblupi "planetblupi" "${CMAKE_CURRENT_SOURCE_DIR}/resources/linux" "${CMAKE_BINARY_DIR}/share" "" "")
|
||||
APPIMAGE_PACKAGE (planetblupi "planetblupi" "Planet Blupi" "${CMAKE_CURRENT_SOURCE_DIR}/resources/linux" "${CMAKE_BINARY_DIR}/share" "" "")
|
||||
elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
|
||||
set (CPACK_GENERATOR "NSIS64;ZIP")
|
||||
set (CPACK_STRIP_FILES TRUE)
|
||||
|
@ -6,13 +6,14 @@ set ( APPIMAGE_WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/deploy/linux-appimage" CAC
|
||||
set ( APPIMAGE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/package/linux-appimage" CACHE PATH "AppImage output directory" )
|
||||
set ( APPIMAGE_FOLLOW_STANDARD OFF CACHE BOOL "Whether generator should follow the spec" )
|
||||
|
||||
macro( APPIMAGE_PACKAGE TARGET APPIMAGE_TITLE CONFIGDIR DATA LIBRARIES LIBRARY_FILES )
|
||||
macro( APPIMAGE_PACKAGE TARGET APPIMAGE_TITLE APPIMAGE_DISPLAYNAME CONFIGDIR DATA LIBRARIES LIBRARY_FILES )
|
||||
string ( TOLOWER "${APPIMAGE_TITLE}" APPIMAGE_INTERNALNAME )
|
||||
string ( MAKE_C_IDENTIFIER "${APPIMAGE_INTERNALNAME}" APPIMAGE_INTERNALNAME )
|
||||
|
||||
# Some prerequisites
|
||||
# TITLE here is used as the name of the final AppImage as well as the desktop entry's name
|
||||
set ( APPIMAGE_TITLE "${APPIMAGE_TITLE}" )
|
||||
set ( APPIMAGE_DISPLAYNAME "${APPIMAGE_DISPLAYNAME}" )
|
||||
set ( APPIMAGE_INTERNALNAME "${APPIMAGE_INTERNALNAME}" )
|
||||
set ( APPIMAGE_LIBRARIES )
|
||||
set ( APPIMAGE_DATA )
|
||||
|
@ -1,7 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Name=@APPIMAGE_TITLE@
|
||||
Name=@APPIMAGE_DISPLAYNAME@
|
||||
Exec=@APPIMAGE_EXEC@
|
||||
StartupWMClass=@APPIMAGE_EXEC_WM@
|
||||
Icon=@APPIMAGE_ICON_REF@
|
||||
|
Loading…
x
Reference in New Issue
Block a user