This repository has been archived on 2026-09-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
linear-linux/index.js
T
2024-12-30 03:47:03 -06:00

23 lines
513 B
JavaScript

const { app, BrowserWindow, session } = require('electron');
const fs = require('fs');
let mainWindow;
app.whenReady().then(() => {
mainWindow = new BrowserWindow({
width: 800,
height: 600,
webPreferences: {
nodeIntegration: false,
contextIsolation: true,
},
});
mainWindow.loadURL('https://linear.app/login');
app.on('window-all-closed', () => {
if (process.platform !== 'darwin') {
app.quit();
}
});
});