webui icon indicating copy to clipboard operation
webui copied to clipboard

Support on-demand compilation of webview-support

Open jimying opened this issue 7 months ago • 1 comments

In some cases, webview is not needed. Could you add a macro (eg. WEBUI_ENABLE_WEBVIEW) to control if compile webview support or not?

jimying avatar May 12 '25 11:05 jimying

Yes, it's possible to add it, but WebUI use dynamic load technic (hardcoded COM), so the WebUI library does not link with any WebView's dependencies, no WebView symbols... therefore, no reason to worry about it.

However, adding WEBUI_ENABLE_WEBVIEW may make WebUI even smaller with few Kb less.

AlbertShown avatar May 12 '25 19:05 AlbertShown