Release v3.2: update sound cue + single-instance bring-to-front fix
- New "Update sound" cue (CueId.Update / update.wav). Plays just before an
update starts installing, on every path (manual, background-silent,
startup-silent), so a silent background update gives an audible heads-up
before RemSound closes to restart. Per-profile mute + custom-sound override
in Preferences, same infrastructure as the other cues:
* Profile.EnableUpdateCue + RemSoundSettingsStore Load/Save + round-trip
* MainForm updateSound field, TryLoadCueSound, play in InstallUpdateAsync
gated by LoadEnableUpdateCue
* PreferencesDialog "Update sound" CueRow + ResolveCueFilePath mapping
* update.wav shipped in sounds\ via csproj Content
- Single-instance "switch to the running copy" now actually brings the window
to the front. The second copy grants the running copy foreground rights via
AllowSetForegroundWindow before signalling, and lingers briefly so it can
raise itself before we exit — without this, Windows' foreground lock left
the running window only flashing in the taskbar (Ed's report).
- Docs: About box v3.2 block, RELEASE_NOTES.md, manual cue section (now seven
cues, with the update cue described), MANUAL.md regenerated.
- Version bumped 3.1.3 -> 3.2.0.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
9ab0a1a20a
commit
cdcac859c4
@@ -107,10 +107,14 @@ public sealed class Profile
|
||||
public bool? EnableRecordStopCue { get; set; }
|
||||
public bool? EnableSaveCue { get; set; }
|
||||
public bool? EnableProfileSwitchCue { get; set; }
|
||||
/// <summary>Plays the update cue just before an update starts installing (manual or
|
||||
/// silent). Null = unset → defaults to on, so a silent background update still gives an
|
||||
/// audible heads-up. Added 2026-05-31.</summary>
|
||||
public bool? EnableUpdateCue { get; set; }
|
||||
|
||||
/// <summary>Per-cue custom WAV file overrides, keyed by the well-known cue id (<c>connect</c>,
|
||||
/// <c>disconnect</c>, <c>record-start</c>, <c>record-stop</c>, <c>save</c>,
|
||||
/// <c>profile-switch</c>) and valued with the absolute filesystem path to the user's chosen
|
||||
/// <c>profile-switch</c>, <c>update</c>) and valued with the absolute filesystem path to the user's chosen
|
||||
/// WAV. Per-profile (moved here from AppConfig 2026-05-28) so a "live monitoring" profile
|
||||
/// can have one set of custom sounds and a "recording" profile a different set. Missing
|
||||
/// keys mean "use the default sound shipped in the sounds\ folder next to RemSound.exe".
|
||||
|
||||
Reference in New Issue
Block a user