electron-github
v1.0.0
Published
A way to connect with GitHub App
Downloads
6
Readme
electron-github
Módulo para login com GitHub e Electron.
Como iniciar
Start:
- Instale a dependência com
npm i --save electron-github
- Importe a biblioteca:
const { ipcRenderer, remote } = require('electron')
const { BrowserWindow } = remote
import ef from 'electron-github';
ef('CLIENT_ID', 'CLIENT_SECRET', 800, 400, BrowserWindow.getAllWindows().filter((e)=>e.id==1))
.then(console.log);
```