Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
[win] Reduce logs when building an NSIS package
Dmitry Kazakov49ba46c6e1a5
diff --git a/build-tools/ci-scripts/build-windows-package.py b/build-tools/ci-scripts/build-windows-package.pyindex 1bacd45bba..4c64a44843 100644--- a/build-tools/ci-scripts/build-windows-package.py+++ b/build-tools/ci-scripts/build-windows-package.py@@ -143,7 +143,7 @@ if arguments.build_installers:if os.path.exists(os.path.join(packageFolder, 'shellex')):shutil.rmtree(os.path.join(packageFolder, 'shellex'))- commandToRun = ' '.join([sys.executable,+ commandToRun = ' '.join([sys.executable, '-u',os.path.join(depsPath, 'krita-msix', 'build_msix.py')])diff --git a/packaging/windows/installer/MakeInstallerNsis.cmake.in b/packaging/windows/installer/MakeInstallerNsis.cmake.inindex 1821a9c96b..23139e2808 100644--- a/packaging/windows/installer/MakeInstallerNsis.cmake.in+++ b/packaging/windows/installer/MakeInstallerNsis.cmake.in@@ -83,11 +83,11 @@ if(globForDebugFiles)get_filename_component(debugDirName "${debugFileDir}" NAME)if(debugDirName STREQUAL ".debug")if(EXISTS "${debugFileDir}")- message(STATUS "Deleting ${debugFileDir}")+ message(VERBOSE "Deleting ${debugFileDir}")file(REMOVE_RECURSE "${debugFileDir}")endif()else()- message(STATUS "Deleting ${debugFileItem}")+ message(VERBOSE "Deleting ${debugFileItem}")file(REMOVE "${debugFileItem}")endif()endforeach()diff --git a/packaging/windows/msix/build_msix.py b/packaging/windows/msix/build_msix.pyindex 880f3bc639..0b15c82a38 100644--- a/packaging/windows/msix/build_msix.py+++ b/packaging/windows/msix/build_msix.py@@ -235,6 +235,7 @@ The arguments stands for:commandToRun = fr'"{environ["MAKEAPPX"]}" pack {"/v" if useVerbosePackagingLog else ""} /f "{environ["OUTPUT_DIR"]}\mapping.txt" /p "{environ["OUTPUT_DIR"]}\krita.msix" /o'try:+ print(f"Running: {commandToRun}")subprocess.check_call(commandToRun)except subprocess.CalledProcessError:warnings.warn("ERROR running makeappx")