Move desktop launchers to PowerShell wrappers

This commit is contained in:
Meta Vens 2026-05-18 12:45:23 +01:00
commit bf4afe42b3
6 changed files with 54 additions and 6 deletions

View file

@ -15,7 +15,7 @@
- Receiver OBS scene has `Neighbor PC - System Audio` on SRT port `5102`.
- Sender script uses `-nostdin` and repo-root logs so desktop launchers stay alive and diagnostics land in `C:\Meta\LocalCastBridge\logs`.
- Sender video config is `1920x1080` for the interactive desktop. The `1024x768` SSH session size is not the streaming target.
- Desktop launchers use absolute paths for winget-installed tools because interactive `cmd.exe` did not resolve `SoundVolumeView`.
- Desktop `.cmd` launchers delegate to PowerShell wrappers so paths with spaces and apostrophes are handled in one place.
## Temporary

View file

@ -73,19 +73,19 @@ C:\Users\Madman's Lullaby\Desktop\Stop LocalCast Sender.cmd
Start launcher:
- runs `scripts\sender-start.ps1`
- runs `scripts\start-localcast-desktop.ps1`
- uses `config\localcast.json`
- passes the winget FFmpeg alias path explicitly
- starts Voicemeeter
- calls `SoundVolumeView.exe` by absolute path because the winget alias is not
reliably available in interactive `cmd.exe`
- calls `SoundVolumeView.exe` by absolute path inside PowerShell because the
winget alias is not reliably available in interactive `cmd.exe`
- sets Windows default render to `Voicemeeter VAIO3 Input`
- sets Windows default capture to `Voicemeeter Out B3`
- writes FFmpeg logs under `C:\Meta\LocalCastBridge\logs`
Stop launcher:
- runs `scripts\sender-stop.ps1`
- runs `scripts\stop-localcast-desktop.ps1`
- stops FFmpeg processes whose command line contains `srt://`
- restores Windows default render to `Focusrite USB Audio\Device\Speakers\Render`
- closes `voicemeeter_x64.exe`