diff --git a/cmake/pack.cmake b/cmake/pack.cmake index 0e5864866..757a6c687 100644 --- a/cmake/pack.cmake +++ b/cmake/pack.cmake @@ -47,7 +47,8 @@ elseif (WIN32) set(CPACK_WIX_PRODUCT_ICON "${ROOT_DIR}/contrib/installer/vengi-icon.ico") set(CPACK_WIX_UI_BANNER "${ROOT_DIR}/contrib/installer/vengi-banner-493x58.png") set(CPACK_WIX_UI_DIALOG "${ROOT_DIR}/contrib/installer/vengi-banner-493x312.png") - set(CPACK_WIX_PROPERTY_ARPURLINFOABOUT "https://vengi-voxel.github.io/vengi") + set(CPACK_WIX_PROPERTY_ARPURLINFOABOUT "https://vengi-voxel.github.io/vengi") + set(CPACK_WIX_PATCH_FILE "${ROOT_DIR}/contrib/installer/windows/wixpatch.xml") set(CPACK_WIX_CULTURES "en-US;de-DE") # guids were generated by cmake set(CPACK_WIX_UPGRADE_GUID "9F20CEE6-8CF0-4618-922F-47942B336330") diff --git a/contrib/installer/windows/wixpatch.xml b/contrib/installer/windows/wixpatch.xml index d44374cdb..7ef2087d9 100644 Binary files a/contrib/installer/windows/wixpatch.xml and b/contrib/installer/windows/wixpatch.xml differ diff --git a/src/tools/formatprinter/FormatPrinter.cpp b/src/tools/formatprinter/FormatPrinter.cpp index b2ee337bc..0322d6363 100644 --- a/src/tools/formatprinter/FormatPrinter.cpp +++ b/src/tools/formatprinter/FormatPrinter.cpp @@ -249,23 +249,24 @@ void FormatPrinter::printMarkdownTables() { } void FormatPrinter::printApplicationWix() { + Log::printf("\n"); Log::printf("\n"); Log::printf(" \n"); - Log::printf(" \n"); + Log::printf(" \n"); Log::printf(" \n"); Log::printf("\n"); Log::printf(" \n"); Log::printf(" \n"); - Log::printf(" \n"); + Log::printf(" \n"); Log::printf("\n"); Log::printf(" \n"); Log::printf(" \n"); - Log::printf(" \n"); - Log::printf(" \n"); + Log::printf(" \n"); + Log::printf(" \n"); Log::printf(" \n"); Log::printf("\n"); Log::printf(" \n"); - Log::printf(" \n"); + Log::printf(" \n"); Log::printf(" \n"); Log::printf(" \n"); Log::printf(" \n"); @@ -277,12 +278,13 @@ void FormatPrinter::printApplicationWix() { if (!uniqueExtensions.insert(e)) { continue; } - Log::printf(" \n", e.c_str(), e.c_str()); + const core::String &m = uniqueMimetype(*desc); + Log::printf(" \n", e.c_str(), e.c_str()); Log::printf(" \n", e.c_str()); Log::printf(" \n", e.c_str(), e.c_str()); - Log::printf(" \n", e.c_str(), desc->name.c_str()); - Log::printf(" \n", e.c_str()); - Log::printf(" \n"); + Log::printf(" \n", e.c_str(), desc->name.c_str()); + Log::printf(" \n", e.c_str(), m.c_str()); + Log::printf(" \n"); Log::printf(" \n"); Log::printf(" \n"); Log::printf("\n"); @@ -290,7 +292,7 @@ void FormatPrinter::printApplicationWix() { } Log::printf("\n"); Log::printf(" \n"); - Log::printf(" \n"); + Log::printf(" \n"); Log::printf(" \n"); Log::printf("\n"); }