forked from BRNSystems/bosca-ceoil-js
init
This commit is contained in:
parent
fdd612add5
commit
21baa8cb9b
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
node_modules
|
||||||
|
out
|
15
index.js
Normal file
15
index.js
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
const { app, BrowserWindow } = require('electron')
|
||||||
|
const createWindow = () => {
|
||||||
|
const win = new BrowserWindow({
|
||||||
|
width: 800,
|
||||||
|
height: 600
|
||||||
|
});
|
||||||
|
|
||||||
|
win.loadFile('index.html')
|
||||||
|
app.whenReady().then(() => {
|
||||||
|
createWindow()
|
||||||
|
})
|
||||||
|
app.on('window-all-closed', () => {
|
||||||
|
if (process.platform !== 'darwin') app.quit()
|
||||||
|
})
|
||||||
|
}
|
13161
package-lock.json
generated
Normal file
13161
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
62
package.json
Normal file
62
package.json
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
{
|
||||||
|
"dependencies": {
|
||||||
|
"electron-squirrel-startup": "^1.0.0",
|
||||||
|
"rpmbuild": "^0.0.23"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@electron-forge/cli": "^6.0.0-beta.64",
|
||||||
|
"@electron-forge/maker-deb": "^6.0.0-beta.64",
|
||||||
|
"@electron-forge/maker-rpm": "^6.0.0-beta.64",
|
||||||
|
"@electron-forge/maker-squirrel": "^6.0.0-beta.64",
|
||||||
|
"@electron-forge/maker-zip": "^6.0.0-beta.64",
|
||||||
|
"electron": "^19.0.6"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"start": "electron-forge start",
|
||||||
|
"package": "electron-forge package",
|
||||||
|
"make": "electron-forge make"
|
||||||
|
},
|
||||||
|
"config": {
|
||||||
|
"forge": {
|
||||||
|
"packagerConfig": {},
|
||||||
|
"makers": [
|
||||||
|
{
|
||||||
|
"name": "@electron-forge/maker-squirrel",
|
||||||
|
"config": {
|
||||||
|
"name": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "@electron-forge/maker-zip",
|
||||||
|
"platforms": [
|
||||||
|
"darwin"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "@electron-forge/maker-deb",
|
||||||
|
"config": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "@electron-forge/maker-rpm",
|
||||||
|
"config": {}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"name": "bosca-ceoil-electron",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "just a port to electron",
|
||||||
|
"main": "index.js",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.brn.systems/BRN_Systems/bosca-ceoil-electron.git"
|
||||||
|
},
|
||||||
|
"keywords": [
|
||||||
|
"bosca",
|
||||||
|
"ceoil",
|
||||||
|
"boscaceol",
|
||||||
|
"electron"
|
||||||
|
],
|
||||||
|
"author": "BRN Systems (original:mtkennerly)",
|
||||||
|
"license": "MIT"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user