Skip to content

Commit c3deb33

Browse files
authored
chore: change alby hub icon in wails and pwa (#733)
Changes icons and also adds an attempt to load the PWA icon in mobile
2 parents 0ec74af + 357bc85 commit c3deb33

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

appicon.png

-81.5 KB
Loading

frontend/public/icon-1024.png

545 KB
Loading

frontend/public/icon-192.png

17 KB
Loading

frontend/public/icon-512.png

135 KB
Loading

frontend/vite.config.ts

+6-5
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,11 @@ export default defineConfig(({ command }) => ({
1818
"icon-512.png",
1919
"icon-192.png",
2020
],
21+
useCredentials: true, // because the manifest might sit behind authentication
2122
manifest: {
2223
short_name: "Alby Hub",
2324
name: "Alby Hub",
2425
icons: [
25-
{
26-
src: "favicon.svg",
27-
sizes: "any",
28-
type: "image/svg+xml",
29-
},
3026
{
3127
src: "icon-192.png",
3228
sizes: "192x192",
@@ -37,6 +33,11 @@ export default defineConfig(({ command }) => ({
3733
sizes: "512x512",
3834
type: "image/png",
3935
},
36+
{
37+
src: "icon-1024.png",
38+
sizes: "1024x1024",
39+
type: "image/png",
40+
},
4041
],
4142
start_url: ".",
4243
display: "standalone",

0 commit comments

Comments
 (0)