Electron Frame
Electron Frame is a simple and customizable window frame build on HTML for you application.
Como usar ?
Instale o pacote usando
npm install electron-frame
ou
yarn add electron-frame
No processo principal adicione
require('electron-frame/main')
No processo renderizador (preload.js) adicione:
const { insertFrame } = require('electron-frame/renderer')
document.addEventListener("DOMContentLoaded", ()=> {
insertFrame(options)
})
How to use ?
Install the package using
npm install electron-frame
or
yarn add electron-frame
In the main process add:
require('electron-frame/main')
In the renderer process (preload.js) add:
const { insertFrame } = require('electron-frame/renderer')
document.addEventListener("DOMContentLoaded", ()=> {
insertFrame(options)
})