Set up --no-launcher flag
Summary: For future use to disable launcher loops. Reviewed By: jknoxville Differential Revision: D13979653 fbshipit-source-id: db56f7d71d7a4d1322cb36622313dbad4307396d
This commit is contained in:
committed by
Facebook Github Bot
parent
39cb25ade9
commit
2b9e3c54c6
@@ -13,6 +13,8 @@ export type ProcessConfig = {|
|
||||
lastWindowPosition: ?{x: number, y: number, width: number, height: number},
|
||||
screenCapturePath: ?string,
|
||||
updaterEnabled: boolean,
|
||||
// Controls whether to delegate to the launcher if present.
|
||||
launcherEnabled: boolean,
|
||||
|};
|
||||
|
||||
let configObj = null;
|
||||
@@ -29,6 +31,8 @@ export default function config(): ProcessConfig {
|
||||
updaterEnabled:
|
||||
typeof json.updaterEnabled === 'boolean' ? json.updaterEnabled : true,
|
||||
screenCapturePath: json.screenCapturePath,
|
||||
launcherEnabled:
|
||||
typeof json.launcherEnabled === 'boolean' ? json.launcherEnabled : true,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user