Skip to content

Commit

Permalink
Update icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Curetix committed Feb 24, 2024
1 parent e1e4e88 commit 8baa121
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 24 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Your API key is stored locally in your browser and is used to directly communica
2. Clone the repository: `git clone https://github.com/curetix/mailflare-extension`
3. Install the dependencies: `pnpm install`
4. Run the build command: `pnpm build` (for Chromium), `pnpm build:firefox` (for Firefox), or `pnpm build:all` for all targets
5. The output will be in the folder `build/chrome-mv3-prod` or `build/firefox-mv2-prod`
5. The output will be in the folder `build/chrome-mv3-prod` or `build/firefox-mv3-prod`

Loading the extension (non-signed builds):

Expand Down
12 changes: 3 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,9 @@
name="description"
content="Create Email aliases for your own domains using Cloudflare Email Routing" />
<meta name="theme-color" content="#FF922B" />
<link rel="icon" href="/favicon.ico" />
<link rel="icon" type="image/png" sizes="32x32" href="/icons/32.png" />
<link rel="icon" type="image/png" sizes="64x64" href="/icons/64.png" />
<link rel="icon" type="image/png" sizes="128x128" href="/icons/128.png" />
<link rel="icon" type="image/png" sizes="256x256" href="/icons/256.png" />
<link rel="icon" type="image/png" sizes="512x512" href="/icons/512.png" />
<link rel="icon" type="image/png" sizes="1024x1024" href="/icons/1024.png" />
<link rel="apple-touch-icon" href="/icons/192.png" sizes="192x192" />
<link rel="mask-icon" href="/icon.svg" color="#FFFFFF" />
<link rel="icon" href="/favicon.ico" sizes="32x32" />
<link rel="icon" href="/icon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
</head>
<body>
<div id="app" style="height: 100%"></div>
Expand Down
File renamed without changes
Binary file added 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.
File renamed without changes
Binary file removed public/icons/1024.png
Binary file not shown.
Binary file removed public/icons/128.png
Binary file not shown.
Binary file removed public/icons/256.png
Binary file not shown.
Binary file removed public/icons/32.png
Binary file not shown.
Binary file removed public/icons/64.png
Binary file not shown.
18 changes: 4 additions & 14 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default defineConfig({
react(),
VitePWA({
registerType: "autoUpdate",
includeAssets: ["favicon.ico", "icons/192.png"],
includeAssets: ["favicon.ico", "icon-192.png"],
manifest: {
name: "MailFlare - Email Aliases",
short_name: "MailFlare",
Expand All @@ -24,25 +24,15 @@ export default defineConfig({
theme_color: "#FF922B",
icons: [
{
src: "icons/128.png",
sizes: "128x128",
src: "icon-192.png",
sizes: "192x192",
type: "image/png",
},
{
src: "icons/256.png",
sizes: "256x256",
type: "image/png",
},
{
src: "icons/512.png",
src: "icon-512.png",
sizes: "512x512",
type: "image/png",
},
{
src: "icons/1024.png",
sizes: "1024x1024",
type: "image/png",
},
],
},
}),
Expand Down

0 comments on commit 8baa121

Please sign in to comment.