Skip to content

Commit

Permalink
fix: FPM launch params
Browse files Browse the repository at this point in the history
  • Loading branch information
colin969 authored Jun 27, 2023
1 parent 26c6706 commit 7add191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/back/responses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1698,7 +1698,7 @@ export function registerRequestCallbacks(state: BackState, init: () => Promise<v
const fpmPath = 'FlashpointManager.exe';
const updatesReady = state.componentStatuses.filter(c => c.state === ComponentState.NEEDS_UPDATE).length > 0;
exitApp(state, async () => {
const args = updatesReady ? ['/update'] : [];
const args = updatesReady ? ['/update', '/launcher'] : ['/launcher'];
const child = child_process.spawn(fpmPath, args, { detached: true, cwd, stdio: ['ignore', 'ignore', 'ignore'] });
child.unref();
});
Expand Down

0 comments on commit 7add191

Please sign in to comment.