27c38bdead
build: add import/order eslint rule (#44085) * build: add import/order eslint rule * chore: run lint:js --fix
14 lines
316 B
JavaScript
14 lines
316 B
JavaScript
const { app, BrowserWindow } = require('electron');
|
|
|
|
const path = require('node:path');
|
|
|
|
app.whenReady().then(() => {
|
|
const w = new BrowserWindow({
|
|
show: false,
|
|
icon: path.join(__dirname, 'icon.png')
|
|
});
|
|
w.webContents.on('did-finish-load', () => {
|
|
app.quit();
|
|
});
|
|
w.loadURL('about:blank');
|
|
});
|