Compare commits
2 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
730cc3d5d5 | |
|
|
dc20b6e232 |
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
".": "1.4.1"
|
||||
".": "1.4.2"
|
||||
}
|
||||
|
|
@ -1,5 +1,12 @@
|
|||
# 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,7 +1,7 @@
|
|||
{
|
||||
"name": "stoat-desktop",
|
||||
"productName": "stoat-desktop",
|
||||
"version": "1.4.1",
|
||||
"version": "1.4.2",
|
||||
"main": ".vite/build/main.js",
|
||||
"repository": "stoatchat/desktop",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -202,10 +202,14 @@ export function createMainWindow() {
|
|||
if (sources.length == 1) {
|
||||
// TODO: Get audio to work with wayland
|
||||
// See vencord for an implementation using a virtual microphone.
|
||||
callback({
|
||||
video: sources[0],
|
||||
audio: request.audioRequested ? "loopback" : undefined,
|
||||
});
|
||||
request.audioRequested
|
||||
? callback({
|
||||
video: sources[0],
|
||||
audio: "loopback",
|
||||
})
|
||||
: callback({
|
||||
video: sources[0],
|
||||
});
|
||||
return;
|
||||
}
|
||||
ipcMain.once(
|
||||
|
|
@ -214,10 +218,14 @@ export function createMainWindow() {
|
|||
if (idx < 0 || idx > sources.length) {
|
||||
callback({});
|
||||
} else {
|
||||
callback({
|
||||
video: sources[idx],
|
||||
audio: audio ? "loopback" : undefined,
|
||||
});
|
||||
audio
|
||||
? callback({
|
||||
video: sources[idx],
|
||||
audio: "loopback",
|
||||
})
|
||||
: callback({
|
||||
video: sources[idx],
|
||||
});
|
||||
}
|
||||
},
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue