Compare commits

...

2 Commits
v1.4.1 ... main

Author SHA1 Message Date
stoat-release[bot] 730cc3d5d5
chore(main): release 1.4.2 (#242)
Co-authored-by: stoat-release[bot] <245062572+stoat-release[bot]@users.noreply.github.com>
2026-07-17 12:18:41 -06:00
Jacob Schlecht dc20b6e232
fix: Don't send audio as undefined and instead omit it (#241)
Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
2026-07-17 12:17:16 -06:00
4 changed files with 25 additions and 10 deletions

View File

@ -1,3 +1,3 @@
{ {
".": "1.4.1" ".": "1.4.2"
} }

View File

@ -1,5 +1,12 @@
# Changelog # Changelog
## [1.4.2](https://github.com/stoatchat/for-desktop/compare/v1.4.1...v1.4.2) (2026-07-17)
### Bug Fixes
* Don't send audio as undefined and instead omit it ([#241](https://github.com/stoatchat/for-desktop/issues/241)) ([dc20b6e](https://github.com/stoatchat/for-desktop/commit/dc20b6e232e184ce1053cfdc7b83550e69ea285a))
## [1.4.1](https://github.com/stoatchat/for-desktop/compare/v1.4.0...v1.4.1) (2026-07-16) ## [1.4.1](https://github.com/stoatchat/for-desktop/compare/v1.4.0...v1.4.1) (2026-07-16)

View File

@ -1,7 +1,7 @@
{ {
"name": "stoat-desktop", "name": "stoat-desktop",
"productName": "stoat-desktop", "productName": "stoat-desktop",
"version": "1.4.1", "version": "1.4.2",
"main": ".vite/build/main.js", "main": ".vite/build/main.js",
"repository": "stoatchat/desktop", "repository": "stoatchat/desktop",
"scripts": { "scripts": {

View File

@ -202,10 +202,14 @@ export function createMainWindow() {
if (sources.length == 1) { if (sources.length == 1) {
// TODO: Get audio to work with wayland // TODO: Get audio to work with wayland
// See vencord for an implementation using a virtual microphone. // See vencord for an implementation using a virtual microphone.
callback({ request.audioRequested
video: sources[0], ? callback({
audio: request.audioRequested ? "loopback" : undefined, video: sources[0],
}); audio: "loopback",
})
: callback({
video: sources[0],
});
return; return;
} }
ipcMain.once( ipcMain.once(
@ -214,10 +218,14 @@ export function createMainWindow() {
if (idx < 0 || idx > sources.length) { if (idx < 0 || idx > sources.length) {
callback({}); callback({});
} else { } else {
callback({ audio
video: sources[idx], ? callback({
audio: audio ? "loopback" : undefined, video: sources[idx],
}); audio: "loopback",
})
: callback({
video: sources[idx],
});
} }
}, },
); );