fix: make WebViewFetchWindow public; add IsReady property

This commit is contained in:
SuperDooper
2026-05-08 21:57:54 +02:00
parent 8e71671abb
commit de41ea9dc4
+3 -1
View File
@@ -17,7 +17,7 @@ namespace ClaudeCheckerWindows;
// claude.ai once, then scripts run directly on the live page every refresh.
// No re-navigation = no memory accumulation.
// • One-shot (LoginWindow): created, used, closed — same as before.
internal sealed class WebViewFetchWindow : Window
public sealed class WebViewFetchWindow : Window
{
private readonly WebView2 _wv = new();
private bool _initialized;
@@ -27,6 +27,8 @@ internal sealed class WebViewFetchWindow : Window
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),
"ClaudeChecker", "WebView2");
public bool IsReady => _readyForScript;
public WebViewFetchWindow()
{
Width = 1;