mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
16 lines
322 B
JavaScript
16 lines
322 B
JavaScript
const { app, BrowserWindow } = require('electron');
|
|
const electronDragClick = require('../index');
|
|
|
|
electronDragClick();
|
|
|
|
app.on('ready', () => {
|
|
const win = new BrowserWindow({
|
|
width: 800,
|
|
height: 600,
|
|
frame: false,
|
|
transparent: true,
|
|
vibrancy: 'sidebar',
|
|
});
|
|
|
|
win.loadFile('./index.html');
|
|
});
|