aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2023-06-12 23:35:21 +0000
committerAndersBroman <a.broman58@gmail.com>2023-06-13 17:26:49 +0000
commitcf1832ae14a87d843485050682be290f49c62b59 (patch)
tree121c844e8b75350650944552b3d4dffed9d81919 /packaging
parent80ae370811595f294c65cb71e1d213d5b49e33fd (diff)
Lua: Add a browser SSLKEYLOG launch script
Add a script that launches Chrome or Firefox with SSLKEYLOG set.
Diffstat (limited to 'packaging')
-rw-r--r--packaging/nsis/CMakeLists.txt2
-rw-r--r--packaging/wix/CMakeLists.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/packaging/nsis/CMakeLists.txt b/packaging/nsis/CMakeLists.txt
index e30eb5d875..5929164f84 100644
--- a/packaging/nsis/CMakeLists.txt
+++ b/packaging/nsis/CMakeLists.txt
@@ -180,7 +180,7 @@ if (BUILD_wireshark)
endforeach()
endif()
if(LUA_FOUND)
- foreach(_script "init.lua" "console.lua" "dtd_gen.lua")
+ foreach(_script "init.lua" "console.lua" "browser_sslkeylog.lua" "dtd_gen.lua")
set(_all_manifest_contents "${_all_manifest_contents}File \"\${STAGING_DIR}\\${_script}\"\n")
endforeach()
endif()
diff --git a/packaging/wix/CMakeLists.txt b/packaging/wix/CMakeLists.txt
index 35ce634a3c..c436e2dbe0 100644
--- a/packaging/wix/CMakeLists.txt
+++ b/packaging/wix/CMakeLists.txt
@@ -144,7 +144,7 @@ foreach(_dll ${CARES_DLL} ${PCRE2_DLL} ${GCRYPT_DLLS}
SET(unique_component ${unique_component} ${_dll})
ENDIF(NOT "${unique_component}" MATCHES "(^|;)${_dll}(;|$)")
endforeach()
-foreach(_script "init.lua" "console.lua" "dtd_gen.lua")
+foreach(_script "init.lua" "console.lua" "browser_sslkeylog.lua" "dtd_gen.lua")
STRING(REGEX REPLACE "[-|\\.]" "_" _wix_name ${_script})
file(APPEND "${_all_manifest_wix}" " <Component Id=\"cmp${_wix_name}\" Guid=\"*\">\n")
file(APPEND "${_all_manifest_wix}" " <File Id=\"fil${_wix_name}\" KeyPath=\"yes\" Source=\"$(var.Staging.Dir)\\${_script}\"/>\n")
@@ -182,7 +182,7 @@ foreach(_dll ${CARES_DLL} ${PCRE2_DLL} ${GCRYPT_DLLS}
SET(unique_file ${unique_file} ${_dll})
ENDIF(NOT "${unique_file}" MATCHES "(^|;)${_dll}(;|$)")
endforeach()
-foreach(_script "init.lua" "console.lua" "dtd_gen.lua")
+foreach(_script "init.lua" "console.lua" "browser_sslkeylog.lua" "dtd_gen.lua")
STRING(REGEX REPLACE "[-|\\.]" "_" _wix_name ${_script})
file(APPEND "${_all_manifest_wix}" " <ComponentRef Id=\"cmp${_wix_name}\" />\n")
endforeach()