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

24
scripts/smoke-runner.js Normal file
View File

@@ -0,0 +1,24 @@
const { spawn } = require('child_process')
const electronBinary = require('electron')
const electronArgs = ['.']
if(process.platform === 'linux'){
electronArgs.push('--no-sandbox', '--disable-gpu')
}
const child = spawn(electronBinary, electronArgs, {
stdio: 'inherit',
env: {
...process.env,
LAUNCHER_SMOKE_EXIT: '1',
LAUNCHER_SMOKE_EXIT_DELAY_MS: process.env.LAUNCHER_SMOKE_EXIT_DELAY_MS || '5000'
}
})
child.on('exit', (code, signal) => {
if(signal != null){
process.exit(1)
}
process.exit(code ?? 0)
})