Skip to content

Commit

Permalink
chore: update app icon
Browse files Browse the repository at this point in the history
  • Loading branch information
flaksp committed Nov 18, 2024
1 parent 24769af commit 388e8d1
Show file tree
Hide file tree
Showing 7 changed files with 73 additions and 4 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ If you found a bug, have a suggestion or want to share some feedback, you are we
Your contributions are very appreciated! Check out "[How to Contribute](https://github.com/camellia-app/camellia/wiki/How-to-Contribute)" page to get started.

This is the main repository of Camellia projects which contains the extension itself, however there are few more repositories with other components that work together. You may find them under [our GitHub organization](https://github.com/camellia-app).

## Special Thanks

[@idlist](https://github.com/idlist) for creating the icon 🤩
52 changes: 52 additions & 0 deletions src/logo.svg
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 src/logo_128x128.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 src/logo_16x16.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 src/logo_32x32.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 src/logo_48x48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 17 additions & 4 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ const buildExtensionManifest = () => {
description: '__MSG_extensionDescription__',
homepage_url: 'https://camellia.app',
host_permissions: ['https://*.camellia.app/'],
icons: {
128: 'logo.png',
},
manifest_version: 3,
name: 'Camellia',
options_ui: {
Expand All @@ -62,6 +59,12 @@ const buildExtensionManifest = () => {
case 'chromium':
extensionManifest.background = {};
extensionManifest.background.service_worker = '/background.js';
extensionManifest.icons = {
16: 'logo_16x16.png',
32: 'logo_32x32.png',
48: 'logo_48x48.png',
128: 'logo_128x128.png',
};
extensionManifest.minimum_chrome_version = '105';
extensionManifest.offline_enabled = true;
extensionManifest.permissions = [...extensionManifest.permissions, 'favicon'];
Expand All @@ -76,6 +79,9 @@ const buildExtensionManifest = () => {
extensionManifest.browser_specific_settings.gecko = {};
extensionManifest.browser_specific_settings.gecko.id = '[email protected]';
extensionManifest.browser_specific_settings.gecko.strict_min_version = '121.0';
extensionManifest.icons = {
16: 'logo.svg',
};

break;
}
Expand Down Expand Up @@ -179,7 +185,14 @@ const commonConfig = {
path: path.resolve(__dirname, 'dist', process.env.TARGET_PLATFORM),
}),
new CopyWebpackPlugin({
patterns: [{ from: path.resolve(__dirname, 'translations'), to: '_locales' }, { from: './logo.png' }],
patterns: [
{ from: path.resolve(__dirname, 'translations'), to: '_locales' },
{ from: './logo.svg' },
{ from: './logo_16x16.png' },
{ from: './logo_32x32.png' },
{ from: './logo_48x48.png' },
{ from: './logo_128x128.png' },
],
}),
new HtmlWebpackPlugin({
chunks: ['newtab'],
Expand Down

0 comments on commit 388e8d1

Please sign in to comment.