add icons
BIN
build/icon.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
build/icons/android-icon-144x144.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
build/icons/android-icon-192x192.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
build/icons/android-icon-36x36.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
build/icons/android-icon-48x48.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
build/icons/android-icon-72x72.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
build/icons/android-icon-96x96.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
build/icons/apple-icon-114x114.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
build/icons/apple-icon-120x120.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
build/icons/apple-icon-144x144.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
build/icons/apple-icon-152x152.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
build/icons/apple-icon-180x180.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
build/icons/apple-icon-57x57.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
build/icons/apple-icon-60x60.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
build/icons/apple-icon-72x72.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
build/icons/apple-icon-76x76.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
build/icons/apple-icon-precomposed.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
build/icons/apple-icon.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
build/icons/dr-logo.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
build/icons/favicon-16x16.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
build/icons/favicon-32x32.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
build/icons/favicon-96x96.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
build/icons/favicon.ico
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
build/icons/icon.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
46
build/icons/manifest.json
Normal file
@ -0,0 +1,46 @@
|
||||
{
|
||||
"short_name": "DR PRO CLINIC",
|
||||
"name": "DR PROFESSIONAL CLINIC",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/android-icon-36x36.png",
|
||||
"sizes": "36x36",
|
||||
"type": "image/png",
|
||||
"density": "0.75"
|
||||
},
|
||||
{
|
||||
"src": "/android-icon-48x48.png",
|
||||
"sizes": "48x48",
|
||||
"type": "image/png",
|
||||
"density": "1.0"
|
||||
},
|
||||
{
|
||||
"src": "/android-icon-72x72.png",
|
||||
"sizes": "72x72",
|
||||
"type": "image/png",
|
||||
"density": "1.5"
|
||||
},
|
||||
{
|
||||
"src": "/android-icon-96x96.png",
|
||||
"sizes": "96x96",
|
||||
"type": "image/png",
|
||||
"density": "2.0"
|
||||
},
|
||||
{
|
||||
"src": "/android-icon-144x144.png",
|
||||
"sizes": "144x144",
|
||||
"type": "image/png",
|
||||
"density": "3.0"
|
||||
},
|
||||
{
|
||||
"src": "/android-icon-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"density": "4.0"
|
||||
}
|
||||
],
|
||||
"start_url": ".",
|
||||
"display": "standalone",
|
||||
"theme_color": "#000000",
|
||||
"background_color": "#ffffff"
|
||||
}
|
BIN
build/icons/ms-icon-144x144.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
build/icons/ms-icon-150x150.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
build/icons/ms-icon-310x310.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
build/icons/ms-icon-70x70.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
4
main.js
@ -1,5 +1,5 @@
|
||||
const electron = require("electron");
|
||||
const { app, BrowserWindow, session } = electron;
|
||||
const { app, BrowserWindow } = electron;
|
||||
|
||||
let mainApp;
|
||||
|
||||
@ -17,7 +17,7 @@ app.on("ready", () => {
|
||||
|
||||
mainApp.setFullScreen(true)
|
||||
mainApp.setTitle("DR PROFESSIONAL CLINIC");
|
||||
mainApp.loadURL("http://clinic.cubetiq.online");
|
||||
mainApp.loadURL("http://clinic.cubetiq.online?platform=desktop");
|
||||
|
||||
mainApp.on("closed", () => {
|
||||
mainApp = null;
|
||||
|
14
package.json
@ -6,24 +6,22 @@
|
||||
"build": {
|
||||
"appId": "com.cubetiqs.clinic",
|
||||
"mac": {
|
||||
"category": "com.cubetiqs.pro.clinic"
|
||||
"category": "com.cubetiqs.pro.clinic",
|
||||
"icon": "build/icon.png"
|
||||
},
|
||||
"linux": {
|
||||
"category": "com.cubetiqs.pro.clinic",
|
||||
"target": [
|
||||
"AppImage",
|
||||
"deb"
|
||||
]
|
||||
],
|
||||
"icon": "build/icon.png"
|
||||
},
|
||||
"win": {
|
||||
"target": "nsis",
|
||||
"icon": "build/icon.ico"
|
||||
"icon": "build/icon.png"
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"electron-browser-storage": "^1.0.6",
|
||||
"electron-localstorage": "^1.0.5",
|
||||
"electron-store": "^5.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"electron": "^8.0.0",
|
||||
"electron-builder": "^22.3.2"
|
||||
|