From ca5ac9f83834ff3b7c6cebc44c308e43b736e95b Mon Sep 17 00:00:00 2001 From: leonarski_f Date: Fri, 10 Jul 2026 07:26:10 +0200 Subject: [PATCH] Name the Windows NSIS installer jfjoch-viewer-*, not jfjoch-* Match the Linux viewer TGZ naming; update the Gitea upload glob to suit. Co-Authored-By: Claude Opus 4.8 --- .gitea/workflows/build_and_test.yml | 4 ++-- CMakeLists.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build_and_test.yml b/.gitea/workflows/build_and_test.yml index 2005ef02..f85a93e6 100644 --- a/.gitea/workflows/build_and_test.yml +++ b/.gitea/workflows/build_and_test.yml @@ -103,8 +103,8 @@ jobs: env: TOKEN: ${{ secrets.PIP_REPOSITORY_API_TOKEN }} run: | - # NSIS installer named jfjoch--win64-{cuda|cpu}.exe (see CMakeLists.txt). - $files = Get-ChildItem -Path build -Filter 'jfjoch-*-win64-*.exe' + # NSIS installer named jfjoch-viewer--win64-{cuda|cpu}.exe (see CMakeLists.txt). + $files = Get-ChildItem -Path build -Filter 'jfjoch-viewer-*-win64-*.exe' if ($files.Count -eq 0) { throw 'No Windows installer found in build/' } foreach ($file in $files) { python gitea_upload_file.py $file.FullName diff --git a/CMakeLists.txt b/CMakeLists.txt index b4fc549a..2c38f5e3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -393,10 +393,10 @@ elseif (WIN32) set(CPACK_NSIS_PACKAGE_NAME "Jungfraujoch") if (JFJOCH_CUDA_AVAILABLE) set(CPACK_NSIS_DISPLAY_NAME "Jungfraujoch (CUDA)") - set(CPACK_PACKAGE_FILE_NAME "jfjoch-${JFJOCH_VERSION}-win64-cuda${CUDAToolkit_VERSION_MAJOR}") + set(CPACK_PACKAGE_FILE_NAME "jfjoch-viewer-${JFJOCH_VERSION}-win64-cuda${CUDAToolkit_VERSION_MAJOR}") else() set(CPACK_NSIS_DISPLAY_NAME "Jungfraujoch (CPU)") - set(CPACK_PACKAGE_FILE_NAME "jfjoch-${JFJOCH_VERSION}-win64-cpu") + set(CPACK_PACKAGE_FILE_NAME "jfjoch-viewer-${JFJOCH_VERSION}-win64-cpu") endif() # Start Menu shortcut for the viewer (";