From 61d08d18703b9d2496784877da779e4735e8fa99 Mon Sep 17 00:00:00 2001 From: Octol1ttle Date: Tue, 17 Mar 2026 19:22:57 +0500 Subject: [PATCH] change(CMakeLists): make .mrpack XML file name unique to avoid conflicts Signed-off-by: Octol1ttle --- program_info/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/program_info/CMakeLists.txt b/program_info/CMakeLists.txt index 1c807999b..3faf3b1bc 100644 --- a/program_info/CMakeLists.txt +++ b/program_info/CMakeLists.txt @@ -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 [=[