mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-10-19 04:55:19 +00:00
chore: use new webview fork notify mechanism
This commit is contained in:
@@ -68,6 +68,7 @@ namespace
|
||||
[&](const std::string& req) -> std::string
|
||||
{
|
||||
const auto name = req.substr(2, req.size() - 4);
|
||||
w.notify("greeting", webview::json_escape(name));
|
||||
return webview::json_escape(std::format("Hello from C++ {}!", name));
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user