fix(release): allow missing WebView2 loader

This commit is contained in:
t8y2
2026-07-01 10:28:05 +08:00
parent 3d5e873837
commit 62951de2b3
+2 -1
View File
@@ -644,7 +644,8 @@ Section Install
; Copy main executable
File "${MAINBINARYSRCPATH}"
File /a "/oname=WebView2Loader.dll" "${WEBVIEW2LOADERSRCPATH}"
; MSVC links WebView2Loader statically, while GNU builds may emit a DLL next to the binary.
File /nonfatal /a "/oname=WebView2Loader.dll" "${WEBVIEW2LOADERSRCPATH}"
; Copy resources
{{#each resources_dirs}}