Add launcher catalog workflow and smoke tests
Some checks failed
Build / release (macos-latest) (push) Has been cancelled
Build / release (ubuntu-latest) (push) Has been cancelled
Build / release (windows-latest) (push) Has been cancelled
Windows Smoke Test / windows-smoke (push) Has been cancelled

This commit is contained in:
2026-05-04 14:06:05 +09:00
parent eb7ef9bbf2
commit 24a0569fb4
106 changed files with 24095 additions and 6 deletions

16
index.js Normal file
View File

@@ -0,0 +1,16 @@
const fs = require('fs')
const path = require('path')
const compiledMainPath = path.join(__dirname, 'dist', 'main', 'index.js')
const legacyMainPath = path.join(__dirname, 'index.legacy.js')
if(fs.existsSync(compiledMainPath)){
try {
require(compiledMainPath)
} catch (error) {
console.warn('[launcher] compiled TypeScript main process failed, falling back to legacy entry.', error)
require(legacyMainPath)
}
} else {
require(legacyMainPath)
}