mirror of
https://github.com/PrismLauncher/PrismLauncher
synced 2026-04-23 09:05:03 +00:00
change(CMakeLists): make .mrpack XML file name unique to avoid conflicts
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
5979052337
commit
61d08d1870
|
|
@ -28,7 +28,7 @@ set(Launcher_AppID "${Launcher_AppID}" PARENT_SCOPE)
|
|||
set(Launcher_SVGFileName "${Launcher_SVGFileName}" PARENT_SCOPE)
|
||||
|
||||
set(Launcher_Desktop "program_info/${Launcher_AppID}.desktop" PARENT_SCOPE)
|
||||
set(Launcher_mrpack_MIMEInfo "program_info/modrinth-mrpack-mime.xml" PARENT_SCOPE)
|
||||
set(Launcher_mrpack_MIMEInfo "program_info/${Launcher_APP_BINARY_NAME}-modrinth-mrpack-mime.xml" PARENT_SCOPE)
|
||||
set(Launcher_MetaInfo "program_info/${Launcher_AppID}.metainfo.xml" PARENT_SCOPE)
|
||||
set(Launcher_PNG_256 "program_info/${Launcher_AppID}_256.png" PARENT_SCOPE)
|
||||
set(Launcher_SVG "program_info/${Launcher_SVGFileName}" PARENT_SCOPE)
|
||||
|
|
@ -48,6 +48,7 @@ configure_file(${Launcher_APP_BINARY_NAME}.qrc.in ${Launcher_APP_BINARY_NAME}.qr
|
|||
configure_file(${Launcher_APP_BINARY_NAME}.manifest.in ${Launcher_APP_BINARY_NAME}.manifest @ONLY)
|
||||
configure_file(${Launcher_APP_BINARY_NAME}.ico ${Launcher_APP_BINARY_NAME}.ico COPYONLY)
|
||||
configure_file(${Launcher_SVGFileName} ${Launcher_SVGFileName} COPYONLY)
|
||||
configure_file(modrinth-mrpack-mime.xml ${Launcher_APP_BINARY_NAME}-modrinth-mrpack-mime.xml COPYONLY)
|
||||
|
||||
if(MSVC)
|
||||
set(Launcher_MSVC_Redist_NSIS_Section [=[
|
||||
|
|
|
|||
Loading…
Reference in a new issue