Wire authenticated voice watch notices through an owned native launcher

This commit is contained in:
yilsem committed 2026-10-12 19:24:33 +03:00
1 parent eeee2756c7
commit b66d9164ad
23 files changed
+1981 -10

No files matched your search

+2
View File
@@ -57,6 +57,7 @@
* - electronPlatformName: 'win32' | 'darwin' | 'linux'
* - arch: Arch enum (0=ia32, 1=x64, 2=armv7l, 3=arm64, 4=universal)
*/
import { buildNativeWatchLauncher } from './build-native-watch-launcher.mjs'
import { existsSync, rmSync, renameSync } from 'node:fs'
import path from 'node:path'
import { Arch } from 'electron-builder'
@@ -111,6 +112,7 @@ export function preserveRollbackBackup(appOutDir, productExeName = 'Hermes.exe')
}
export default async function beforePack(context) {
if (context?.electronPlatformName === 'win32') buildNativeWatchLauncher()
const appOutDir = context && context.appOutDir
const platformName = context && context.electronPlatformName
try {