add icons

This commit is contained in:
Sambo Chea 2020-02-13 14:54:45 +07:00
parent 58da225b04
commit 4832cdb3b0
31 changed files with 54 additions and 10 deletions

BIN
build/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

BIN
build/icons/apple-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

BIN
build/icons/dr-logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
build/icons/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
build/icons/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

46
build/icons/manifest.json Normal file
View 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"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -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;

View File

@ -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"