This commit is contained in:
2026-10-18 00:49:38 +07:00
parent 62d56962e0
commit 7f2a02b69f
8 changed files with 71 additions and 12 deletions
+2
View File
@@ -201,6 +201,8 @@ app.whenReady().then(async () => {
try {
await seeded
const control = await poll(() => BrowserWindow.getAllWindows()[0], 'control')
if (process.platform === 'linux')
assert.ok(control.getNativeWindowHandle().readUInt32LE(0) > 0xffff, 'native X11 window ID')
control.webContents.on('console-message', (_event, details) =>
console.log('renderer:', details.message),
)