release: v0.7.7 stable — promote develop to main #17
Reference in New Issue
Block a user
Delete Branch "develop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Promotion bêta → stable
Depuis v0.7.6 (publiée) :
v0.7.7 — fix install Windows update silencieux (PR #16)
Quand une instance Muyue tournait au moment de l'extraction du nouveau zip,
Expand-Archive -Forcen'écrasait pas le.exeverrouillé et l'install était silencieusement no-op.Fix : 1ʳᵉ ligne du snippet d'install tue toute instance Muyue avant l'extract :
Idempotent (no-op sur install propre). Snippet officiel passe à 6 lignes.
Merger ce PR pour que
ci-main.yml:v0.7.7stableCHANGELOG.mdFast-forward — pas de fix supplémentaire dans ce PR.
User reported v0.7.6 install silently no-op'd when v0.7.5 was still running: $dest = "$env:LOCALAPPDATA\Muyue" Expand-Archive -Path "$env:TEMP\muyue.zip" -DestinationPath $dest -Force # No error, but the running v0.7.5 .exe stays in place because # Windows refuses to overwrite a locked file. After 'install', the # 'muyue' command still launches v0.7.5. Add a Stop-Process step at the top of the install snippet: Get-Process muyue, muyue-windows-amd64 -ErrorAction SilentlyContinue | Stop-Process -Force Start-Sleep -Milliseconds 500 -ErrorAction SilentlyContinue makes it idempotent (no error on a clean first install). The 500ms sleep gives Windows time to release the file handle before Expand-Archive opens the destination paths. Snippet bumps to 6 lines; explanatory note added so users updating from a previous version know why this step matters. - internal/version/version.go: 0.7.6 → 0.7.7 - CHANGELOG.md: v0.7.7 entry