mirror of
https://github.com/garrytan/gstack.git
synced 2026-09-09 22:48:57 +02:00
refactor(browse): move headlessGpuArgs below the import block
The #2709 helper landed between two import statements; imports now stay contiguous. No behavior change. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
ce3f3848a7
commit
d03b34c1ce
@@ -24,6 +24,8 @@ import { TabSession, type RefEntry } from './tab-session';
|
||||
import { resolveChromiumProfile, cleanSingletonLocks } from './config';
|
||||
import { launchWithXProtectHeal } from './xprotect-heal';
|
||||
import { readPidStartTime } from './xvfb';
|
||||
import { withCdpSession } from './cdp-bridge';
|
||||
import type { MemorySnapshot, MemoryStructureStats, MemoryTabSnapshot, MemoryProcess } from './memory-snapshot';
|
||||
|
||||
/**
|
||||
* Headless GPU flags (#2709): on macOS 26 / Apple Silicon the headless-shell
|
||||
@@ -47,8 +49,6 @@ export function headlessGpuArgs(platform: string, env: NodeJS.ProcessEnv): strin
|
||||
'--disable-gpu-watchdog',
|
||||
];
|
||||
}
|
||||
import { withCdpSession } from './cdp-bridge';
|
||||
import type { MemorySnapshot, MemoryStructureStats, MemoryTabSnapshot, MemoryProcess } from './memory-snapshot';
|
||||
|
||||
/**
|
||||
* Detect whether GSTACK_CHROMIUM_PATH points at a custom Chromium build that
|
||||
|
||||
Reference in New Issue
Block a user