2
0
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:
Jan Laupetin
2025-10-07 21:39:04 +01:00
parent 5310ae7b8b
commit 2639640ca3
4 changed files with 35 additions and 6 deletions

View File

@@ -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));
});