mirror of
https://codeberg.org/armin/noizapp.git
synced 2026-09-01 05:50:52 +02:00
init
This commit is contained in:
commit
43eb1ddd96
2 changed files with 29 additions and 0 deletions
11
main.js
Normal file
11
main.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
const { app, BrowserWindow, Menu } = require('electron');
|
||||
function createWindow() {
|
||||
const win = new BrowserWindow({
|
||||
width: 1200,
|
||||
height: 800,
|
||||
});
|
||||
win.loadURL('https://bsd.pm/noiz/');
|
||||
}
|
||||
Menu.setApplicationMenu(null);
|
||||
app.whenReady().then(createWindow);
|
||||
|
||||
18
package.json
Normal file
18
package.json
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "noiz-app",
|
||||
"version": "1.0.0",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
"start": "electron ."
|
||||
},
|
||||
"devDependencies": {
|
||||
"electron": "^39.0.0"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "armin@codeberg",
|
||||
"license": "MIT",
|
||||
"type": "commonjs"
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue