Compare commits

...
4 changed files with 14 additions and 9 deletions
@@ -30,7 +30,6 @@ jobs:
dotnet publish windows/ClaudeCheckerWindows.csproj ` dotnet publish windows/ClaudeCheckerWindows.csproj `
-c Release -r win-x64 ` -c Release -r win-x64 `
--self-contained true ` --self-contained true `
-p:PublishSingleFile=true `
-p:Version=${{ steps.version.outputs.version }} ` -p:Version=${{ steps.version.outputs.version }} `
-o publish -o publish
-1
View File
@@ -31,7 +31,6 @@ jobs:
dotnet publish windows/ClaudeCheckerWindows.csproj ` dotnet publish windows/ClaudeCheckerWindows.csproj `
-c Release -r win-x64 ` -c Release -r win-x64 `
--self-contained true ` --self-contained true `
-p:PublishSingleFile=true `
-p:Version=${{ steps.version.outputs.version }} ` -p:Version=${{ steps.version.outputs.version }} `
-o publish -o publish
+13 -5
View File
@@ -495,13 +495,21 @@ public partial class PopupWindow : Window
private void CopyDiag_Click(object s, RoutedEventArgs e) private void CopyDiag_Click(object s, RoutedEventArgs e)
{ {
var diagText = BuildDiagText(); try
for (int i = 0; i < 5; i++)
{ {
try { Clipboard.SetText(diagText); break; } // SetDataObject(data, false) skips Flush() — avoids CLIPBRD_E_CANT_OPEN crash
catch (Exception) { System.Threading.Thread.Sleep(100); } var diagText = BuildDiagText();
for (int i = 0; i < 5; i++)
{
try { Clipboard.SetDataObject(diagText, false); break; }
catch (Exception) { System.Threading.Thread.Sleep(100); }
}
CopyDiagButton.Content = "Copied! (IDs redacted)";
}
catch (Exception)
{
CopyDiagButton.Content = "Copy failed";
} }
CopyDiagButton.Content = "Copied! (IDs redacted)";
var t = new DispatcherTimer { Interval = TimeSpan.FromSeconds(1.5) }; var t = new DispatcherTimer { Interval = TimeSpan.FromSeconds(1.5) };
t.Tick += (_, _) => { CopyDiagButton.Content = "Copy All"; t.Stop(); }; t.Tick += (_, _) => { CopyDiagButton.Content = "Copy All"; t.Stop(); };
t.Start(); t.Start();
+1 -2
View File
@@ -28,8 +28,7 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files] [Files]
Source: "publish\ClaudeChecker.exe"; DestDir: "{app}"; Flags: ignoreversion Source: "publish\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs
Source: "publish\Assets\*"; DestDir: "{app}\Assets"; Flags: ignoreversion recursesubdirs
[Icons] [Icons]
Name: "{group}\ClaudeChecker"; Filename: "{app}\ClaudeChecker.exe" Name: "{group}\ClaudeChecker"; Filename: "{app}\ClaudeChecker.exe"