initialize Electron desktop app and remove unused files
Build / build (push) Canceled after 0s
Playwright / browser (push) Canceled after 0s

This commit is contained in:
2026-10-25 01:09:01 +08:00
commit 01d9e301fc
877 changed files with 262513 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
// Fail startup rather than shipping a desktop whose terminal is silently disabled.
import { createRequire } from 'node:module'
import { join } from 'node:path'
const requireRuntime = createRequire(__filename)
requireRuntime('node:sqlite')
requireRuntime('node-pty')
requireRuntime(join(__dirname, '../server/index.js'))