File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -151,16 +151,16 @@ export interface ElectronOptions {
151151 * Electron App startup function.
152152 * It will mount the Electron App child-process to `process.electronApp`.
153153 *
154- * You can also set environment variables to control the Electron CLI flags.
155- * Supported env vars:
156- * - `REMOTE_DEBUGGING_PORT`
157- * - `ELECTRON_IGNORE_CERTIFICATE_ERRORS`
158- * - `ELECTRON_DISABLE_WEB_SECURITY`
159- * - `ELECTRON_INSPECT`
160- * - `ELECTRON_INSPECT_BRK`
161- *
162- * `1` or `true` turns a flag on, `0` or `false` turns it off, and any other non-empty
163- * value is appended as `=<value>`.
154+ * You can also set environment variables to control the Electron CLI flags.
155+ * Supported env vars:
156+ * - `REMOTE_DEBUGGING_PORT`
157+ * - `ELECTRON_IGNORE_CERTIFICATE_ERRORS`
158+ * - `ELECTRON_DISABLE_WEB_SECURITY`
159+ * - `ELECTRON_INSPECT`
160+ * - `ELECTRON_INSPECT_BRK`
161+ *
162+ * `1` or `true` turns a flag on, `0` or `false` turns it off, and any other non-empty
163+ * value is appended as `=<value>`.
164164 *
165165 * @param argv default value `['.', '--no-sandbox']`
166166 * @param options options for `child_process.spawn`
Original file line number Diff line number Diff line change @@ -127,14 +127,14 @@ export interface ElectronOptions {
127127 * Electron App startup function.
128128 * It will mount the Electron App child-process to `process.electronApp`.
129129 *
130- * `1` 或 `true` 表示开启,`0` 或 `false` 表示关闭,其它非空值会追加为 `=<value>`。
131- *
132- * 支持的环境变量:
133- * - `REMOTE_DEBUGGING_PORT` 追加 `--remote-debugging-port=<value>`
134- * - `ELECTRON_IGNORE_CERTIFICATE_ERRORS` 追加 `--ignore-certificate-errors`
135- * - `ELECTRON_DISABLE_WEB_SECURITY` 追加 `--disable-web-security`
136- * - `ELECTRON_INSPECT` 追加 `--inspect` 或 `--inspect=<value>`
137- * - `ELECTRON_INSPECT_BRK` 追加 `--inspect-brk` 或 `--inspect-brk=<value>`
130+ * `1` 或 `true` 表示开启,`0` 或 `false` 表示关闭,其它非空值会追加为 `=<value>`。
131+ *
132+ * 支持的环境变量:
133+ * - `REMOTE_DEBUGGING_PORT` 追加 `--remote-debugging-port=<value>`
134+ * - `ELECTRON_IGNORE_CERTIFICATE_ERRORS` 追加 `--ignore-certificate-errors`
135+ * - `ELECTRON_DISABLE_WEB_SECURITY` 追加 `--disable-web-security`
136+ * - `ELECTRON_INSPECT` 追加 `--inspect` 或 `--inspect=<value>`
137+ * - `ELECTRON_INSPECT_BRK` 追加 `--inspect-brk` 或 `--inspect-brk=<value>`
138138 *
139139 * @param argv default value `['.', '--no-sandbox']`
140140 * @param options options for `child_process.spawn`
Original file line number Diff line number Diff line change 11{
22 "name" : " vite-plugin-electron" ,
3- "version" : " 1.0.0-beta.7 " ,
3+ "version" : " 1.0.0-beta.8 " ,
44 "description" : " Electron 🔗 Vite" ,
55 "keywords" : [
66 " electron" ,
You can’t perform that action at this time.
0 commit comments