add main app
This commit is contained in:
commit
c139036846
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
node_modules
|
||||
package-lock.json
|
18
main.js
Normal file
18
main.js
Normal file
@ -0,0 +1,18 @@
|
||||
const electron = require("electron");
|
||||
const { app, BrowserWindow } = electron;
|
||||
|
||||
let mainWindow;
|
||||
|
||||
app.on("ready", () => {
|
||||
mainWindow = new BrowserWindow({
|
||||
width: 1000,
|
||||
height: 700
|
||||
});
|
||||
|
||||
mainWindow.setTitle("CUBETIQ Clinic");
|
||||
mainWindow.loadURL("http://clinic.cubetiq.online");
|
||||
|
||||
mainWindow.on("closed", () => {
|
||||
mainWindow = null;
|
||||
});
|
||||
});
|
26
package.json
Normal file
26
package.json
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
"name": "clinic",
|
||||
"version": "1.0.0",
|
||||
"description": "Clinic Application",
|
||||
"main": "main.js",
|
||||
"dependencies": {
|
||||
"electron": "^8.0.0"
|
||||
},
|
||||
"devDependencies": {},
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/CUBETIQ/sandbox-clinic.git"
|
||||
},
|
||||
"keywords": [
|
||||
"clinic"
|
||||
],
|
||||
"author": "Sambo Chea",
|
||||
"license": "ISC",
|
||||
"bugs": {
|
||||
"url": "https://github.com/CUBETIQ/sandbox-clinic/issues"
|
||||
},
|
||||
"homepage": "https://github.com/CUBETIQ/sandbox-clinic#readme"
|
||||
}
|
Loading…
Reference in New Issue
Block a user