fix: make WebViewFetchWindow public; add IsReady property
This commit is contained in:
@@ -17,7 +17,7 @@ namespace ClaudeCheckerWindows;
|
|||||||
// claude.ai once, then scripts run directly on the live page every refresh.
|
// claude.ai once, then scripts run directly on the live page every refresh.
|
||||||
// No re-navigation = no memory accumulation.
|
// No re-navigation = no memory accumulation.
|
||||||
// • One-shot (LoginWindow): created, used, closed — same as before.
|
// • 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 readonly WebView2 _wv = new();
|
||||||
private bool _initialized;
|
private bool _initialized;
|
||||||
@@ -27,6 +27,8 @@ internal sealed class WebViewFetchWindow : Window
|
|||||||
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),
|
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),
|
||||||
"ClaudeChecker", "WebView2");
|
"ClaudeChecker", "WebView2");
|
||||||
|
|
||||||
|
public bool IsReady => _readyForScript;
|
||||||
|
|
||||||
public WebViewFetchWindow()
|
public WebViewFetchWindow()
|
||||||
{
|
{
|
||||||
Width = 1;
|
Width = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user