Skip to content

Commit

Permalink
chore: change alby hub icon in wails and pwa (#733)
Browse files Browse the repository at this point in the history
Changes icons and also adds an attempt to load the PWA icon in mobile
  • Loading branch information
im-adithya authored Oct 9, 2024
2 parents 0ec74af + 357bc85 commit c3deb33
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
Binary file modified appicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/icon-1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/icon-192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/icon-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 6 additions & 5 deletions frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,11 @@ export default defineConfig(({ command }) => ({
"icon-512.png",
"icon-192.png",
],
useCredentials: true, // because the manifest might sit behind authentication
manifest: {
short_name: "Alby Hub",
name: "Alby Hub",
icons: [
{
src: "favicon.svg",
sizes: "any",
type: "image/svg+xml",
},
{
src: "icon-192.png",
sizes: "192x192",
Expand All @@ -37,6 +33,11 @@ export default defineConfig(({ command }) => ({
sizes: "512x512",
type: "image/png",
},
{
src: "icon-1024.png",
sizes: "1024x1024",
type: "image/png",
},
],
start_url: ".",
display: "standalone",
Expand Down

0 comments on commit c3deb33

Please sign in to comment.