Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions electron/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,7 @@ Object.entries(config).forEach(([key, value]) => {
app.setAppUserModelId(config.appUserModelId);

// do not use mdns for local ip obfuscation to prevent windows firewall prompt
app.commandLine.appendSwitch('disable-features', 'WebRtcHideLocalIpsWithMdns');

app.commandLine.appendSwitch('force-webrtc-ip-handling-policy', 'all');
Copy link

@EnricoSchw EnricoSchw Nov 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're making two changes at once here:

Remove deprackted MDNS (is disabled by default now)

With mdns, your internal IP address is masked. So instead of, for example, broadcasting the local IP address 10.10.10.02, it becomes something like bb5bf085-0e64-438d-8059-20be6887f0cc.local.

This is supposed to increase security, but it also causes problems. Chrome has now disabled it. Firefox still does it by default.

Change global IP gathering police to ALL

This determines which IP addresses Chrome is allowed to use:

There are three settings:

  1. default_public_and_private_interfaces (is default) -> allow all
  2. default_public_interface_only -> blocks private ip
  3. disable_non_proxied_udp -> blocks udp

I couldn't find the "ALL" setting anywhere. But we should leave it on the default setting, otherwise our application won't work anymore.

app.getGPUInfo('basic').then((info: any) => {
const gpuDevices = 'gpuDevice' in info ? info.gpuDevice : [];
if (gpuDevices.length > 0) {
Expand Down
2 changes: 1 addition & 1 deletion electron/src/menu/TrayHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export class TrayHandler {
is optional (default), but makes it easier to read
*/
if (process.platform === 'darwin') {
app.dock.bounce('informational');
app.dock?.bounce('informational');
} else {
win.flashFrame(true);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"cross-env": "7.0.3",
"css-loader": "7.1.2",
"dotenv": "16.5.0",
"electron": "35.0.2",
"electron": "38.2.0",
"electron-builder": "24.13.3",
"electron-mocha": "12.3.1",
"electron-packager": "17.1.2",
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7920,16 +7920,16 @@ __metadata:
languageName: node
linkType: hard

"electron@npm:35.0.2":
version: 35.0.2
resolution: "electron@npm:35.0.2"
"electron@npm:38.2.0":
version: 38.2.0
resolution: "electron@npm:38.2.0"
dependencies:
"@electron/get": ^2.0.0
"@types/node": ^22.7.7
extract-zip: ^2.0.1
bin:
electron: cli.js
checksum: e0bd4e5299f09a860815b72ca7e4087147c762a79e3fed8f431e40f6369d244b65f554d6882f9ef379891929368a7010a062a3ca54676ab1cedb023caec9e102
checksum: 115a6e2b73a404b090c808ef67832111ddd305338aafbe6b22f8e0c58be079255b438c7ab8d9e579db5418edcba7990336ae51b6896e50b999cdbc3fa3ca573d
languageName: node
linkType: hard

Expand Down Expand Up @@ -18989,7 +18989,7 @@ __metadata:
cross-env: 7.0.3
css-loader: 7.1.2
dotenv: 16.5.0
electron: 35.0.2
electron: 38.2.0
electron-builder: 24.13.3
electron-dl: ^3.5.2
electron-mocha: 12.3.1
Expand Down
Loading