Skip to content

Commit

Permalink
Don't add SBOM to installer when disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
rcaelers committed Sep 10, 2024
1 parent abad7b0 commit 187163b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/toolkits/gtkmm/dist/windows/PrepareInnoSetup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if (HAVE_CRASHPAD)
file(APPEND ${LIBS_ISS} "Source: \"${INSTALL_WIN_PATH}\\${BINDIR}\\WorkraveCrashHandler.exe\"; DestDir: \"{app}\\${BINDIR}\"; DestName: \"WorkraveCrashHandler.exe\"; Flags: ignoreversion;\n")
endif()

if (HAVE_CRASHPAD)
if (HAVE_SBOM)
file(APPEND ${LIBS_ISS} "\n; SBOM\n")
file(APPEND ${LIBS_ISS} "Source: \"${INSTALL_WIN_PATH}\\sbom.csv\"; DestDir: \"{app}\"; Flags: ignoreversion;\n")
endif()

0 comments on commit 187163b

Please sign in to comment.