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