mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-03-01 06:22:44 -08:00
refactor(main): modularize runtime and harden anilist setup flow
This commit is contained in:
@@ -218,6 +218,10 @@ async function main(): Promise<void> {
|
||||
}
|
||||
state.appPath = appPath;
|
||||
|
||||
if (args.appPassthrough) {
|
||||
runAppCommandWithInherit(appPath, args.appArgs);
|
||||
}
|
||||
|
||||
if (args.mpvIdle) {
|
||||
await launchMpvIdleDetached(mpvSocketPath, appPath, args);
|
||||
const ready = await waitForUnixSocketReady(mpvSocketPath, 8000);
|
||||
|
||||
Reference in New Issue
Block a user