mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-08 13:08:29 +02:00
dehardcode branding in Linux manual and Windows app info
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
61d08d1870
commit
0e732bf499
4 changed files with 20 additions and 16 deletions
|
|
@ -10,13 +10,14 @@ endif()
|
|||
|
||||
set(Launcher_CommonName "PrismLauncher")
|
||||
set(Launcher_DisplayName "Prism Launcher")
|
||||
set(Launcher_AppID "org.prismlauncher.PrismLauncher")
|
||||
set(Launcher_Domain "prismlauncher.org")
|
||||
set(Launcher_Git "https://github.com/PrismLauncher/PrismLauncher")
|
||||
|
||||
set(Launcher_Name "${Launcher_CommonName}" PARENT_SCOPE)
|
||||
set(Launcher_DisplayName "${Launcher_DisplayName}" PARENT_SCOPE)
|
||||
|
||||
set(Launcher_AppID "org.prismlauncher.PrismLauncher")
|
||||
set(Launcher_Domain "prismlauncher.org" PARENT_SCOPE)
|
||||
set(Launcher_Git "https://github.com/PrismLauncher/PrismLauncher" PARENT_SCOPE)
|
||||
set(Launcher_Domain "${Launcher_Domain}" PARENT_SCOPE)
|
||||
set(Launcher_Git "${Launcher_Git}" PARENT_SCOPE)
|
||||
|
||||
set(Launcher_SVGFileName "${Launcher_AppID}.svg")
|
||||
set(Launcher_Copyright "© 2022-2026 Prism Launcher Contributors\\n© 2021-2022 PolyMC Contributors\\n© 2012-2021 MultiMC Contributors")
|
||||
|
|
@ -38,6 +39,7 @@ set(Launcher_Branding_ICO "program_info/${Launcher_APP_BINARY_NAME}.ico")
|
|||
set(Launcher_Branding_ICO "${Launcher_Branding_ICO}" PARENT_SCOPE)
|
||||
set(Launcher_Branding_WindowsRC "program_info/${Launcher_APP_BINARY_NAME}.rc" PARENT_SCOPE)
|
||||
set(Launcher_Branding_LogoQRC "program_info/${Launcher_APP_BINARY_NAME}.qrc" PARENT_SCOPE)
|
||||
set(Launcher_Authors "MultiMC & Prism Launcher Contributors")
|
||||
|
||||
set(Launcher_Portable_File "program_info/portable.txt" PARENT_SCOPE)
|
||||
|
||||
|
|
@ -77,7 +79,9 @@ endif()
|
|||
configure_file(win_install.nsi.in win_install.nsi @ONLY)
|
||||
|
||||
if(SCDOC_FOUND)
|
||||
set(in_scd "${CMAKE_CURRENT_SOURCE_DIR}/${Launcher_APP_BINARY_NAME}.6.scd")
|
||||
configure_file(${Launcher_APP_BINARY_NAME}.6.scd.in ${Launcher_APP_BINARY_NAME}.6.scd @ONLY)
|
||||
|
||||
set(in_scd "${CMAKE_CURRENT_BINARY_DIR}/${Launcher_APP_BINARY_NAME}.6.scd")
|
||||
set(out_man "${CMAKE_CURRENT_BINARY_DIR}/${Launcher_APP_BINARY_NAME}.6")
|
||||
add_custom_command(
|
||||
DEPENDS "${in_scd}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue