Release Kaleido Desktop 0.1.0-beta.11
All checks were successful
Validate Kaleido Desktop / validate (push) Successful in 1m22s
All checks were successful
Validate Kaleido Desktop / validate (push) Successful in 1m22s
Fix a UI-thread deadlock between the player and window resizes: player_rect held the video-surface lock while Tauri's hwnd() waited for the UI thread, and on_resize, running on the UI thread, waited for that lock. Leaving full screen for the miniplayer could freeze the window while mpv kept playing. Resize handling now runs off the UI thread, and the Windows surface keeps its HWND instead of asking the UI thread for it. Add local diagnostics: a watchdog writes a dump of every thread when the UI thread stops answering for 5 s, unhandled exceptions write a crash dump and log the faulting module (Windows), and panics are logged. Windows release builds keep function names in kaleido.pdb, archived per version in .tools/symbols/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
0eb8518927
commit
4985f1dde0
15 changed files with 362 additions and 10 deletions
|
|
@ -21,10 +21,25 @@ if (-not $env:TAURI_SIGNING_PRIVATE_KEY) {
|
|||
}
|
||||
|
||||
if (-not (Test-Path (Join-Path $root "node_modules"))) { npm ci }
|
||||
|
||||
# Symbols for reading hang and crash dumps (diagnostics.rs): keep function names
|
||||
# and line tables in kaleido.pdb. They stay out of the executable.
|
||||
$env:CARGO_PROFILE_RELEASE_STRIP = "none"
|
||||
$env:CARGO_PROFILE_RELEASE_DEBUG = "line-tables-only"
|
||||
$buildArgs = @("tauri", "build")
|
||||
if ($Debug) { $buildArgs += "--debug" }
|
||||
npx @buildArgs
|
||||
if ($LASTEXITCODE -ne 0) { throw "Build failed" }
|
||||
|
||||
$profile = if ($Debug) { "debug" } else { "release" }
|
||||
|
||||
# Keep this version's executable and symbols: a dump can only be read with the
|
||||
# exact build that wrote it (.tools/ is ignored).
|
||||
if (-not $Debug) {
|
||||
$version = (Get-Content (Join-Path $root "src-tauri\tauri.conf.json") -Raw | ConvertFrom-Json).version
|
||||
$symbols = Join-Path $root ".tools\symbols\$version"
|
||||
New-Item -ItemType Directory -Force $symbols | Out-Null
|
||||
Copy-Item (Join-Path $root "src-tauri\target\release\kaleido.exe"), (Join-Path $root "src-tauri\target\release\kaleido.pdb") $symbols -Force
|
||||
Write-Host "Symbols kept in $symbols"
|
||||
}
|
||||
Get-ChildItem (Join-Path $root "src-tauri\target\$profile\bundle\nsis") | Select-Object Name, Length
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue