icons added

This commit is contained in:
amitpanwar789 2024-06-22 18:18:03 +05:30
parent e87432af3e
commit 57e2af7f45
5 changed files with 138 additions and 5 deletions

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -0,0 +1,133 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="256px" height="256px" viewBox="0 0 256 256" enable-background="new 0 0 256 256" xml:space="preserve">
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="128" y1="256" x2="128" y2="0">
<stop offset="0.1269" style="stop-color:#CCCCCC"/>
<stop offset="0.2947" style="stop-color:#E1E1E1"/>
<stop offset="0.4889" style="stop-color:#FFFFFF"/>
</linearGradient>
<rect fill="url(#SVGID_1_)" width="256" height="256"/>
<g>
<g>
<g>
<g>
<g>
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="-2.2432" y1="60.3643" x2="167.041" y2="264.634" gradientTransform="matrix(0.9999 -0.0101 0.0101 0.9999 1.9865 13.6532)">
<stop offset="0.3295" style="stop-color:#1976D2"/>
<stop offset="0.4214" style="stop-color:#2E69CC"/>
<stop offset="0.6106" style="stop-color:#6548BE"/>
<stop offset="0.7834" style="stop-color:#9C27B0"/>
</linearGradient>
<path fill="url(#SVGID_2_)" d="M65.814,152.139c0.91,0.784,1.91,1.396,2.96,1.85c-1.711-1.462-3.403-2.891-5.073-4.277
C64.274,150.59,64.974,151.414,65.814,152.139z"/>
<linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="-2.2031" y1="60.4131" x2="167.0789" y2="264.6803" gradientTransform="matrix(0.9999 -0.0101 0.0101 0.9999 1.9865 13.6532)">
<stop offset="0.3295" style="stop-color:#1976D2"/>
<stop offset="0.4214" style="stop-color:#2E69CC"/>
<stop offset="0.6106" style="stop-color:#6548BE"/>
<stop offset="0.7834" style="stop-color:#9C27B0"/>
</linearGradient>
<path fill="url(#SVGID_3_)" d="M65.814,152.139c0.91,0.784,1.91,1.396,2.96,1.85c-1.711-1.462-3.403-2.891-5.073-4.277
C64.274,150.59,64.974,151.414,65.814,152.139z"/>
<linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="-1.457" y1="44.2812" x2="188.127" y2="273.0462" gradientTransform="matrix(0.9999 -0.0101 0.0101 0.9999 1.9865 13.6532)">
<stop offset="0.3295" style="stop-color:#1976D2"/>
<stop offset="0.4214" style="stop-color:#2E69CC"/>
<stop offset="0.6106" style="stop-color:#6548BE"/>
<stop offset="0.7834" style="stop-color:#9C27B0"/>
</linearGradient>
<path fill="url(#SVGID_4_)" d="M82.001,151.025c4.159-4.727,3.658-11.9-1.122-16.016c-4.78-4.117-12.026-3.62-16.188,1.109
c-3.428,3.899-3.682,9.45-0.99,13.592c1.67,1.387,3.362,2.815,5.073,4.277C73.242,155.909,78.634,154.855,82.001,151.025z"/>
<linearGradient id="SVGID_5_" gradientUnits="userSpaceOnUse" x1="6.127" y1="53.4326" x2="175.4021" y2="257.6916" gradientTransform="matrix(0.9999 -0.0101 0.0101 0.9999 1.9865 13.6532)">
<stop offset="0.3295" style="stop-color:#1976D2"/>
<stop offset="0.4214" style="stop-color:#2E69CC"/>
<stop offset="0.6106" style="stop-color:#6548BE"/>
<stop offset="0.7834" style="stop-color:#9C27B0"/>
</linearGradient>
<path fill="url(#SVGID_5_)" d="M82.001,151.025c4.159-4.727,3.658-11.9-1.122-16.016c-4.78-4.117-12.026-3.62-16.188,1.109
c-3.428,3.899-3.682,9.45-0.99,13.592c1.67,1.387,3.362,2.815,5.073,4.277C73.242,155.909,78.634,154.855,82.001,151.025z"/>
<linearGradient id="SVGID_6_" gradientUnits="userSpaceOnUse" x1="6.166" y1="53.4805" x2="175.4397" y2="257.7377" gradientTransform="matrix(0.9999 -0.0101 0.0101 0.9999 1.9865 13.6532)">
<stop offset="0.3295" style="stop-color:#1976D2"/>
<stop offset="0.4214" style="stop-color:#2E69CC"/>
<stop offset="0.6106" style="stop-color:#6548BE"/>
<stop offset="0.7834" style="stop-color:#9C27B0"/>
</linearGradient>
<path fill="url(#SVGID_6_)" d="M82.001,151.025c4.159-4.727,3.658-11.9-1.122-16.016c-4.78-4.117-12.026-3.62-16.188,1.109
c-3.428,3.899-3.682,9.45-0.99,13.592c1.67,1.387,3.362,2.815,5.073,4.277C73.242,155.909,78.634,154.855,82.001,151.025z"/>
<linearGradient id="SVGID_7_" gradientUnits="userSpaceOnUse" x1="6.5864" y1="37.6182" x2="196.1729" y2="266.3862" gradientTransform="matrix(0.9999 -0.0101 0.0101 0.9999 1.9865 13.6532)">
<stop offset="0.3295" style="stop-color:#1976D2"/>
<stop offset="0.4214" style="stop-color:#2E69CC"/>
<stop offset="0.6106" style="stop-color:#6548BE"/>
<stop offset="0.7834" style="stop-color:#9C27B0"/>
</linearGradient>
<path fill="url(#SVGID_7_)" d="M131.52,178.628c-4.778-4.118-12.026-3.625-16.188,1.107
c-4.159,4.729-3.654,11.902,1.124,16.021c4.779,4.114,12.028,3.62,16.185-1.113
C136.801,189.911,136.299,182.742,131.52,178.628z"/>
<linearGradient id="SVGID_8_" gradientUnits="userSpaceOnUse" x1="14.1919" y1="46.7949" x2="183.4888" y2="251.0801" gradientTransform="matrix(0.9999 -0.0101 0.0101 0.9999 1.9865 13.6532)">
<stop offset="0.3295" style="stop-color:#1976D2"/>
<stop offset="0.4214" style="stop-color:#2E69CC"/>
<stop offset="0.6106" style="stop-color:#6548BE"/>
<stop offset="0.7834" style="stop-color:#9C27B0"/>
</linearGradient>
<path fill="url(#SVGID_8_)" d="M131.52,178.628c-4.778-4.118-12.026-3.625-16.188,1.107
c-4.159,4.729-3.654,11.902,1.124,16.021c4.779,4.114,12.028,3.62,16.185-1.113
C136.801,189.911,136.299,182.742,131.52,178.628z"/>
<linearGradient id="SVGID_9_" gradientUnits="userSpaceOnUse" x1="14.2378" y1="46.8506" x2="183.5231" y2="251.1217" gradientTransform="matrix(0.9999 -0.0101 0.0101 0.9999 1.9865 13.6532)">
<stop offset="0.3295" style="stop-color:#1976D2"/>
<stop offset="0.4214" style="stop-color:#2E69CC"/>
<stop offset="0.6106" style="stop-color:#6548BE"/>
<stop offset="0.7834" style="stop-color:#9C27B0"/>
</linearGradient>
<path fill="url(#SVGID_9_)" d="M131.52,178.628c-4.778-4.118-12.026-3.625-16.188,1.107
c-4.159,4.729-3.654,11.902,1.124,16.021c4.779,4.114,12.028,3.62,16.185-1.113
C136.801,189.911,136.299,182.742,131.52,178.628z"/>
</g>
<linearGradient id="SVGID_10_" gradientUnits="userSpaceOnUse" x1="-56.7104" y1="46.0752" x2="181.1495" y2="333.0932" gradientTransform="matrix(0.9999 -0.0101 0.0101 0.9999 1.9865 13.6532)">
<stop offset="0.3295" style="stop-color:#1976D2"/>
<stop offset="0.4214" style="stop-color:#2E69CC"/>
<stop offset="0.6106" style="stop-color:#6548BE"/>
<stop offset="0.7834" style="stop-color:#9C27B0"/>
</linearGradient>
<path fill="url(#SVGID_10_)" d="M47.215,171.653c-0.005,7.697-0.009,15.186-0.014,22.144c2.244-2.067,4.739-4.303,7.153-6.622
c0.744-0.719,1.28-0.813,2.038-0.109c1.297,1.197,2.635,2.35,4.001,3.56c1.243-1.401,2.409-2.72,3.618-4.084
C58.394,181.564,52.874,176.668,47.215,171.653z"/>
<linearGradient id="SVGID_11_" gradientUnits="userSpaceOnUse" x1="-71.7656" y1="17.4062" x2="178.9234" y2="319.9048" gradientTransform="matrix(0.9999 -0.0101 0.0101 0.9999 1.9865 13.6532)">
<stop offset="0.3295" style="stop-color:#1976D2"/>
<stop offset="0.4214" style="stop-color:#2E69CC"/>
<stop offset="0.6106" style="stop-color:#6548BE"/>
<stop offset="0.7834" style="stop-color:#9C27B0"/>
</linearGradient>
<path fill="url(#SVGID_11_)" d="M96.606,215.496c-5.554-4.934-10.928-9.709-16.356-14.536c-1.225,1.39-2.362,2.679-3.551,4.024
c1.533,1.378,2.997,2.693,4.539,4.078c-2.06,2.116-4.067,4.186-6.239,6.42C82.293,215.486,89.327,215.491,96.606,215.496z"/>
<linearGradient id="SVGID_12_" gradientUnits="userSpaceOnUse" x1="48.644" y1="2.749" x2="238.2449" y2="231.5344" gradientTransform="matrix(0.9999 -0.0101 0.0101 0.9999 1.9865 13.6532)">
<stop offset="0.3295" style="stop-color:#1976D2"/>
<stop offset="0.4214" style="stop-color:#2E69CC"/>
<stop offset="0.6106" style="stop-color:#6548BE"/>
<stop offset="0.7834" style="stop-color:#9C27B0"/>
</linearGradient>
<path fill="url(#SVGID_12_)" d="M151.123,140.642c4.551-2.31,8.836-5.034,12.748-8.313c7.891-6.625,13.992-14.499,16.895-24.56
c2.469-8.565,3.027-17.312,2.158-26.142c-0.596-6.125-2.252-11.961-5.594-17.219c-7.176-11.29-17.574-18.036-30.375-21.218
c-8.9-2.214-18.036-2.651-27.165-2.687c-23.748-0.088-47.498-0.055-71.249-0.067c-0.423-0.001-0.847,0.036-1.287,0.056
c-0.015,24.535-0.031,48.95-0.046,73.32c15.731-11.838,31.863-14.195,48.42-2.57c2.176-2.02,4.324-4.011,6.562-6.088
c-2.269-1.653-4.427-3.226-6.688-4.872c5.694-4.126,11.212-8.121,16.712-12.105c-1.47-3.392-0.892-6.063,1.599-7.667
c2.145-1.383,5.17-0.997,6.868,0.874c1.745,1.923,1.889,4.86,0.337,6.912c-1.768,2.34-4.548,2.716-7.774,0.995
c-2.781,3.42-5.572,6.854-8.424,10.36c2.357,1.672,4.611,3.269,6.938,4.919c-4.579,3.08-9.056,6.089-13.548,9.107
c0.167,0.201,0.234,0.306,0.324,0.386c16.396,14.547,32.791,29.093,49.197,43.631c3.506,3.105,7.074,6.147,9.555,10.212
c6.645,10.863,7.08,22.205,2.514,33.884c-2.002,5.131-5.035,9.634-9.098,13.737c19.465,0.012,38.66,0.024,58.096,0.036
c-19.633-24.874-39.131-49.577-58.684-74.348C150.508,140.993,150.805,140.802,151.123,140.642z"/>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

@ -48,7 +48,7 @@ function createWindow(): void {
const mainWindow = new BrowserWindow({
width: 1200,
height: 800,
icon:path.join(__dirname, 'static/assets/images/favicon-32x32.png'),
icon:path.join(__dirname, '/static/assets/images/favicon-32x32.png'),
webPreferences: {
nodeIntegration: false, // Disable Node.js integration in the renderer
contextIsolation: true, // Enable context isolation for security

View File

@ -1,5 +1,5 @@
{
"name": "desktop-app",
"name": "Robosats",
"version": "1.0.0",
"description": "",
"main": "index.js",
@ -7,9 +7,9 @@
"start": "electron .",
"compile": "./node_modules/.bin/tsc",
"test": "echo \"Error: no test specified\" && exit 1",
"package:linux": "npx @electron/packager . Robosats --platform=linux --arch=x64 --overwrite to force --out=release-builds",
"package-win": "npx @electron/packager . Robosats --platform=win32 --arch=ia32 --icon=./static/assets/images/favicon-96x96.png --overwrite --out=release-builds",
"package-mac": "npx @electron/packager . Robosats --platform=darwin --arch=x64 --icon=./static/assets/images/favicon-96x96.png --overwrite --out=release-builds"
"package-linux": "npx @electron/packager . Robosats --platform=linux --arch=x64 --icon=./assets/icon/Robosats.svg --overwrite --out=release-builds",
"package-win": "npx @electron/packager . Robosats --platform=win32 --arch=ia32 --icon=./assets/icon/Robosats.ico --overwrite --out=release-builds",
"package-mac": "npx @electron/packager . Robosats --platform=darwin --arch=x64 --icon=./assets/icon/Robosats.icns --overwrite --out=release-builds"
},
"author": "",
"license": "ISC",