Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: updating app icon, cleaning up unused images

Ilian Sapundshievbb6dbee24d2f
diff --git a/assets/icon.icns b/assets/icon.icns
index f4266c5ef..17b37e42b 100644
Binary files a/assets/icon.icns and b/assets/icon.icns differ
diff --git a/assets/icon.ico b/assets/icon.ico
index 5fb4db9d5..ab57e7015 100644
Binary files a/assets/icon.ico and b/assets/icon.ico differ
diff --git a/assets/icon.png b/assets/icon.png
index 86c70b8d8..add85807c 100644
Binary files a/assets/icon.png and b/assets/icon.png differ
diff --git a/assets/icons/256x256.png b/assets/icons/256x256.png
deleted file mode 100644
index 140e9b8fd..000000000
Binary files a/assets/icons/256x256.png and /dev/null differ
diff --git a/icon.png b/icon.png
new file mode 100644
index 000000000..add85807c
Binary files /dev/null and b/icon.png differ
diff --git a/package-lock.json b/package-lock.json
index 7ae6f8a58..d9032bf9a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -44,7 +44,7 @@
"i18next": "^23.4.6",
"i18next-http-backend": "^2.2.2",
"leaflet": "1.9.4",
- "marked": "^17.0.0",
+ "marked": "17.0.0",
"mgrs": "^1.0.0",
"ollama": "^0.5.13",
"open-location-code": "1.0.3",
@@ -186,7 +186,7 @@
"yarn": "please-use-npm"
},
"optionalDependencies": {
- "@tagspacespro/tagspacespro": "5.0.195"
+ "@tagspacespro/tagspacespro": "5.0.196"
}
},
"node_modules/@ampproject/remapping": {
@@ -16111,9 +16111,9 @@
}
},
"node_modules/@tagspacespro/tagspacespro": {
- "version": "5.0.195",
- "resolved": "https://npm.pkg.github.com/download/@tagspacespro/tagspacespro/5.0.195/12688bc2597482a4b924227cc01b524f06caec92",
- "integrity": "sha512-TgU71UlhryNLwvgq5nrdIdlxJFRDEYWj/+WE+OPPcB0Rvx2LIxWBtN5xBtUFd5xzwZ/pGqIWkdnHwHOlhfhNBg==",
+ "version": "5.0.196",
+ "resolved": "https://npm.pkg.github.com/download/@tagspacespro/tagspacespro/5.0.196/5f8814f329e40e9928b0790c8b25ce6e2b2594b6",
+ "integrity": "sha512-xTqpVR/5uoe2lNNNdOfBaGNuS5IcwJQf98N1YUPLvcchgKFlKfA3+Oc1YlSk5nKhJdC0OAsnGC4JFSR5Z2veCQ==",
"license": "Proprietary",
"optional": true
},
diff --git a/package.json b/package.json
index 28c076ced..24965b76b 100644
--- a/package.json
+++ b/package.json
@@ -242,7 +242,7 @@
"zod-to-json-schema": "^3.24.1"
},
"optionalDependencies": {
- "@tagspacespro/tagspacespro": "5.0.195"
+ "@tagspacespro/tagspacespro": "5.0.196"
},
"devDependencies": {
"@electron/notarize": "^2.5.0",
diff --git a/src/renderer/assets/icons/icon.png b/src/renderer/assets/icons/icon.png
new file mode 100644
index 000000000..add85807c
Binary files /dev/null and b/src/renderer/assets/icons/icon.png differ
diff --git a/src/renderer/assets/icons/icon.svg b/src/renderer/assets/icons/icon.svg
new file mode 100644
index 000000000..7172fa502
--- /dev/null
+++ b/src/renderer/assets/icons/icon.svg
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ version="1.1"
+ id="svg4510"
+ viewBox="0 0 299.42227 299.42227"
+ height="299.42227"
+ width="299.42227"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <defs
+ id="defs4512" />
+ <metadata
+ id="metadata4515">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <rect
+ style="display:none;fill:#ffffff;fill-opacity:1;stroke-width:2.16158;stroke-linecap:round;stroke-linejoin:round;paint-order:markers stroke fill"
+ id="rect1"
+ width="255.85907"
+ height="261.80905"
+ x="27.659096"
+ y="23.082285"
+ rx="33.581367"
+ ry="35.853519" />
+ <rect
+ y="0"
+ x="0"
+ height="299.42227"
+ width="299.42227"
+ id="rect3052-8-1"
+ style="fill:none;fill-opacity:1;stroke:none" />
+ <path
+ id="path3923-1-1-4-9-8"
+ d="m 167.22592,45.41793 89.58867,0.343039 V 131.33444 L 141.88135,248.30953 53.863922,167.21061 Z"
+ style="fill:none;stroke:#ffffff;stroke-width:33.9942;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+ <path
+ id="rect3052-8-2-2"
+ d="m 185.74175,42.177829 67.62378,41.534122 C 184.20632,223.35197 191.00057,197.52519 131.06813,234.30676 l -56.799016,-79.4208 z"
+ style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.953967" />
+ <ellipse
+ ry="15.056067"
+ rx="15.235434"
+ cy="102.62198"
+ cx="195.77454"
+ id="path4875-4-7-5-6-2"
+ style="fill:#616577;fill-opacity:1;stroke:none;stroke-width:0.953967" />
+ <path
+ id="path3108-5-39-8"
+ d="M 164.59656,211.1852 140.56525,188.95976"
+ style="fill:none;stroke:#a466aa;stroke-width:26.2434;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+ <path
+ id="path3108-9-1-76-7"
+ d="M 207.59991,159.63439 159.53733,116.41818"
+ style="fill:#f7901e;fill-opacity:1;stroke:#33b5be;stroke-width:26.2434;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+ <path
+ id="path3108-0-7-9-8"
+ d="M 186.73064,186.18163 150.05128,153.46065"
+ style="fill:#616577;fill-opacity:1;stroke:#f7901e;stroke-width:26.2434;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+ <path
+ id="path3923-1-1-4-9"
+ d="m 168.99208,54.529473 h 79.21399 V 129.99023 L 142.80033,238.19213 64.544582,165.84967 Z"
+ style="fill:none;stroke:#616577;stroke-width:30.4923;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+ <rect
+ style="display:none;fill:#1dd19f;fill-opacity:0.857868;fill-rule:nonzero;stroke:none;stroke-width:0.692299;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ id="rect4206"
+ width="118.32621"
+ height="64.360275"
+ x="147.38354"
+ y="205.55649"
+ rx="14.88394" />
+</svg>
diff --git a/src/renderer/assets/images/icon100x100.svg b/src/renderer/assets/images/icon100x100.svg
deleted file mode 100644
index ae00bc36b..000000000
--- a/src/renderer/assets/images/icon100x100.svg
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg
- xmlns="http://www.w3.org/2000/svg"
- width="100"
- height="100"
- viewBox="0 0 100 100"
- id="svg4510"
- version="1.1">
- <defs
- id="defs4512" />
- <g
- id="layer1"
- transform="matrix(0.33346217,0,0,0.33346217,-0.01300084,-250.91)">
- <rect
- style="fill:none;fill-opacity:1;stroke:none"
- id="rect3052-8-1"
- width="299.42227"
- height="299.42227"
- x="-0.019505024"
- y="752.95935" />
- <path
- style="fill:#ffffff;fill-opacity:1;stroke:none"
- d="m 181.90177,787.75394 70.88695,43.53834 C 180.29225,977.67059 187.41436,950.59754 124.58989,989.154 L 65.05006,905.90077 Z"
- id="rect3052-8-2-2" />
- <ellipse
- style="fill:#616577;fill-opacity:1;stroke:none"
- id="path4875-4-7-5-6-2"
- cx="192.4187"
- cy="851.11481"
- rx="15.970615"
- ry="15.782593" />
- <path
- style="fill:none;stroke:#a466aa;stroke-width:27.50978279;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
- d="M 159.73623,964.91671 134.54529,941.61879"
- id="path3108-5-39-8" />
- <path
- style="fill:none;stroke:#ffffff;stroke-width:34.19813538;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
- d="m 162.16161,795.17204 90.03628,0.34544 0,86.1724 -115.50748,117.79375 -88.457192,-81.6665 z"
- id="path3923-1-1-4-9-8" />
- <path
- style="fill:#f7901e;fill-opacity:1;stroke:#33b5be;stroke-width:27.50978279;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
- d="m 204.81469,910.87834 -50.38182,-45.3016"
- id="path3108-9-1-76-7" />
- <path
- style="fill:#616577;fill-opacity:1;stroke:#f7901e;stroke-width:27.50978279;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
- d="M 182.93838,938.7066 144.48907,904.40668"
- id="path3108-0-7-9-8" />
- <path
- style="fill:none;stroke:#616577;stroke-width:31.96374702;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
- d="m 164.34385,800.70161 83.03644,0 0,79.10209 -110.49206,113.42316 -82.031957,-75.83333 z"
- id="path3923-1-1-4-9" />
- </g>
-</svg>
diff --git a/src/renderer/assets/images/icon128.png b/src/renderer/assets/images/icon128.png
deleted file mode 100644
index 24889a029..000000000
Binary files a/src/renderer/assets/images/icon128.png and /dev/null differ
diff --git a/src/renderer/assets/images/icon128x128.png b/src/renderer/assets/images/icon128x128.png
deleted file mode 100644
index 459bc903b..000000000
Binary files a/src/renderer/assets/images/icon128x128.png and /dev/null differ
diff --git a/src/renderer/assets/images/icon512x512.png b/src/renderer/assets/images/icon512x512.png
deleted file mode 100644
index 84f88661a..000000000
Binary files a/src/renderer/assets/images/icon512x512.png and /dev/null differ
diff --git a/src/renderer/components/CustomLogo.tsx b/src/renderer/components/CustomLogo.tsx
index 9d4fc14d6..58369470f 100644
--- a/src/renderer/components/CustomLogo.tsx
+++ b/src/renderer/components/CustomLogo.tsx
@@ -17,7 +17,7 @@
*/
import AppConfig from '-/AppConfig';
-import LogoIcon from '-/assets/images/icon100x100.svg';
+import LogoIcon from '-/assets/icons/icon.png';
import TextLogoIcon from '-/assets/images/text-logo.svg';
import Tooltip from '-/components/Tooltip';
import TsIconButton from '-/components/TsIconButton';
diff --git a/src/renderer/components/dialogs/AboutDialog.tsx b/src/renderer/components/dialogs/AboutDialog.tsx
index 2a9f2578d..9aa1ed86f 100644
--- a/src/renderer/components/dialogs/AboutDialog.tsx
+++ b/src/renderer/components/dialogs/AboutDialog.tsx
@@ -17,7 +17,7 @@
*/
import AppConfig from '-/AppConfig';
-import LogoIcon from '-/assets/images/icon100x100.svg';
+import LogoIcon from '-/assets/icons/icon.png';
import DraggablePaper from '-/components/DraggablePaper';
import Tooltip from '-/components/Tooltip';
import TsButton from '-/components/TsButton';
diff --git a/src/renderer/containers/TsAuth.tsx b/src/renderer/containers/TsAuth.tsx
index c74b766c0..e5bdce97a 100644
--- a/src/renderer/containers/TsAuth.tsx
+++ b/src/renderer/containers/TsAuth.tsx
@@ -16,7 +16,8 @@
*
*/
-import React from 'react';
+import LogoIcon from '-/assets/icons/icon.png';
+import HandleAuth from '-/utils/HandleAuth';
import {
AmplifyAuthenticator,
AmplifySignIn,
@@ -24,8 +25,7 @@ import {
AmplifyTotpSetup,
} from '@aws-amplify/ui-react';
import { Amplify } from 'aws-amplify';
-import HandleAuth from '-/utils/HandleAuth';
-import LogoIcon from '-/assets/images/icon100x100.svg';
+import React from 'react';
import { useTranslation } from 'react-i18next';
const TsAuth: React.FC<any> = (props) => {