format code

This commit is contained in:
草鞋没号 2022-02-08 11:24:32 +08:00
parent 4cdc5b570c
commit f95f77aa62

View File

@ -52,11 +52,11 @@ export function resolveElectron(
function electronExport() { function electronExport() {
return ` return `
/** /**
* For all exported modules see https://www.electronjs.org/docs/latest/api/clipboard -> Renderer Process Modules * For all exported modules see https://www.electronjs.org/docs/latest/api/clipboard -> Renderer Process Modules
*/ */
const electron = require("electron"); const electron = require("electron");
const { const {
clipboard, clipboard,
nativeImage, nativeImage,
shell, shell,
@ -66,9 +66,9 @@ export function resolveElectron(
webFrame, webFrame,
desktopCapturer, desktopCapturer,
deprecate, deprecate,
} = electron; } = electron;
export { export {
electron as default, electron as default,
clipboard, clipboard,
nativeImage, nativeImage,
@ -79,7 +79,7 @@ export function resolveElectron(
webFrame, webFrame,
desktopCapturer, desktopCapturer,
deprecate, deprecate,
} }
` `
} }