mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-19 20:07:06 +08:00
format code
This commit is contained in:
parent
4cdc5b570c
commit
f95f77aa62
@ -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,
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user