Compare commits
5 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
730cc3d5d5 | |
|
|
dc20b6e232 | |
|
|
a5664a35b7 | |
|
|
1940938850 | |
|
|
e00f3a860c |
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
".": "1.4.0"
|
||||
".": "1.4.2"
|
||||
}
|
||||
15
CHANGELOG.md
15
CHANGELOG.md
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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": {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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],
|
||||
});
|
||||
}
|
||||
},
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue