Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
24dbf013e7 | ||
|
|
5a799899ef |
@@ -495,13 +495,21 @@ public partial class PopupWindow : Window
|
||||
|
||||
private void CopyDiag_Click(object s, RoutedEventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
// SetDataObject(data, false) skips Flush() — avoids CLIPBRD_E_CANT_OPEN crash
|
||||
var diagText = BuildDiagText();
|
||||
for (int i = 0; i < 5; i++)
|
||||
{
|
||||
try { Clipboard.SetText(diagText); break; }
|
||||
try { Clipboard.SetDataObject(diagText, false); break; }
|
||||
catch (Exception) { System.Threading.Thread.Sleep(100); }
|
||||
}
|
||||
CopyDiagButton.Content = "Copied! (IDs redacted)";
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
CopyDiagButton.Content = "Copy failed";
|
||||
}
|
||||
var t = new DispatcherTimer { Interval = TimeSpan.FromSeconds(1.5) };
|
||||
t.Tick += (_, _) => { CopyDiagButton.Content = "Copy All"; t.Stop(); };
|
||||
t.Start();
|
||||
|
||||
@@ -33,7 +33,7 @@ Source: "publish\Assets\*"; DestDir: "{app}\Assets"; Flags: ignoreversion recurs
|
||||
|
||||
[Icons]
|
||||
Name: "{group}\ClaudeChecker"; Filename: "{app}\ClaudeChecker.exe"
|
||||
Name: "{commondesktop}\ClaudeChecker"; Filename: "{app}\ClaudeChecker.exe"; Tasks: desktopicon
|
||||
Name: "{userdesktop}\ClaudeChecker"; Filename: "{app}\ClaudeChecker.exe"; Tasks: desktopicon
|
||||
|
||||
[Run]
|
||||
; Silent install (auto-update): launch automatically
|
||||
|
||||
Reference in New Issue
Block a user