Compare commits

...

2 Commits

Author SHA1 Message Date
chyoo 3ea9842c03 Merge branch 'develop' into release 2026-07-03 17:50:40 +09:00
chyoo 4e2136f03f update launcher frontend 2026-07-03 17:43:22 +09:00
+4 -1
View File
@@ -876,9 +876,12 @@ function createWindow(): void {
if (spawnPath) {
const useDevLauncher = is.dev && spawnPath === resolvedDevAppPath
const launchUrlArg = url ? [`--url=${encodeURIComponent(url)}`] : []
const noSandboxArg = !useDevLauncher && process.platform === 'linux' && spawnPath.toLowerCase().endsWith('.appimage')
? ['--no-sandbox']
: []
const args = useDevLauncher
? ['run', 'dev']
: [...launchUrlArg, ...authLaunchArgs, ...(authProtocolUrl ? [authProtocolUrl] : [])]
: [...noSandboxArg, ...launchUrlArg, ...authLaunchArgs, ...(authProtocolUrl ? [authProtocolUrl] : [])]
const execBin = useDevLauncher ? 'npm' : spawnPath
const childEnv = { ...process.env }