--- bitwarden-2024.10.0/apps/desktop/src/main/native-messaging.main.ts.orig 2024-10-17 21:45:41.000000000 +0200 +++ bitwarden-2024.10.0/apps/desktop/src/main/native-messaging.main.ts 2024-10-25 22:25:27.180541673 +0200 @@ -328,26 +328,7 @@ export class NativeMessagingMain { } private binaryPath() { - const ext = process.platform === "win32" ? ".exe" : ""; - - if (isDev()) { - const devPath = path.join( - this.appPath, - "..", - "desktop_native", - "target", - "debug", - `desktop_proxy${ext}`, - ); - - // isDev() returns true when using a production build with ELECTRON_IS_DEV=1, - // so we need to fall back to the prod binary if the dev binary doesn't exist. - if (existsSync(devPath)) { - return devPath; - } - } - - return path.join(path.dirname(this.exePath), `desktop_proxy${ext}`); + return 'XXXLIBDIRXXX/bitwarden/desktop_proxy' } private getRegeditInstance() {