Compare commits

...

5 Commits
v1.4.0 ... 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
stoat-release[bot] a5664a35b7
chore(main): release 1.4.1 (#238)
Co-authored-by: stoat-release[bot] <245062572+stoat-release[bot]@users.noreply.github.com>
2026-07-16 15:30:01 -06:00
Jacob Schlecht 1940938850
fix: make electron use loopback instead of loopbackwithmute (#236)
Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
2026-07-16 23:28:24 +02:00
Jacob Schlecht e00f3a860c
fix: Do not enable autostart on first launch (#237)
Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
2026-07-13 11:01:14 -07:00
5 changed files with 36 additions and 14 deletions

View File

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

View File

@ -1,5 +1,20 @@
# 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)
### Bug Fixes
* Do not enable autostart on first launch ([#237](https://github.com/stoatchat/for-desktop/issues/237)) ([e00f3a8](https://github.com/stoatchat/for-desktop/commit/e00f3a860c566ea1e8287573144c2e081d243664))
* make electron use loopback instead of loopbackwithmute ([#236](https://github.com/stoatchat/for-desktop/issues/236)) ([1940938](https://github.com/stoatchat/for-desktop/commit/1940938850d9bf7d4821554dc2dbde96a9f94b8c))
## [1.4.0](https://github.com/stoatchat/for-desktop/compare/v1.3.0...v1.4.0) (2026-06-16)

View File

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

View File

@ -43,11 +43,10 @@ if (acquiredLock) {
// create window and application contexts
createMainWindow();
// enable auto start on Windows and MacOS
// save first launch state
if (config.firstLaunch) {
if (process.platform === "win32" || process.platform === "darwin") {
autoLaunch.enable();
}
// Doesn't do anything right now. Used to enable auto start, but that behaviour was removed.
// Left in case it gets used in the future.
config.firstLaunch = false;
}

View File

@ -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 ? "loopbackWithMute" : 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 ? "loopbackWithMute" : undefined,
});
audio
? callback({
video: sources[idx],
audio: "loopback",
})
: callback({
video: sources[idx],
});
}
},
);