Skip to content

Commit

Permalink
docs(plugin-local-electron): add docs for the config options
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound committed May 3, 2018
1 parent 8af9268 commit ebcd4c1
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion packages/plugin/local-electron/src/Config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,32 @@
export interface LocalElectronPluginConfig {
enabled: boolean;
/**
* Whether or not the plugin is enabled.
*
* Can be handy to set this to an environment variable for quick personal
* toggling of this plugin.
*
* Default: `true`
*/
enabled?: boolean;
/**
* An absolute path to the folder containing your built version of Electron.
*
* Normally this looks like `/path/to/electron/out/D`
*/
electronPath: string;
/**
* The platform your local build of Electron is for. You only need to set
* this if you have a local build for a platform that isn't your system's
* platform.
*
* Default: process.platform
*/
electronPlatform?: string;
/**
* The arch your local build of Electron is for. You only need to set this if
* you have a local build for an arch that isn't your system's arch.
*
* Default: process.arch
*/
electronArch?: string;
}

0 comments on commit ebcd4c1

Please sign in to comment.