chore: update logos and icons

This commit is contained in:
haritabh-z01 2025-06-29 20:10:15 +05:30
parent 834473877f
commit d1956fc4b9
13 changed files with 33 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 587 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View file

@ -198,7 +198,7 @@ const config: ForgeConfig = {
asar: true,
name: "Amical",
executableName: "Amical",
icon: "./assets/logo", // Path to your icon file (without extension)
icon: "./assets/logo.icns", // Path to your icon file
extraResource: [
"../../packages/native-helpers/swift-helper/bin",
"./src/db/migrations",
@ -289,11 +289,14 @@ const config: ForgeConfig = {
},
rebuildConfig: {},
makers: [
new MakerSquirrel({}),
new MakerSquirrel({
name: "Amical",
setupIcon: "./assets/logo.ico",
}),
new MakerDMG(
{
name: "Amical",
icon: "./assets/logo.svg",
icon: "./assets/logo.icns", // Volume icon (when DMG is mounted)
},
["darwin"],
),

View file

@ -3,6 +3,15 @@
<head>
<meta charset="UTF-8" />
<title>Amical App</title>
<!-- Favicon links -->
<link rel="icon" type="image/x-icon" href="/assets/logo.ico" />
<link rel="icon" type="image/png" sizes="16x16" href="/assets/icon-16x16.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/assets/icon-32x32.png" />
<link rel="icon" type="image/png" sizes="64x64" href="/assets/icon-64x64.png" />
<link rel="icon" type="image/png" sizes="128x128" href="/assets/icon-128x128.png" />
<link rel="icon" type="image/png" sizes="256x256" href="/assets/icon-256x256.png" />
<link rel="apple-touch-icon" sizes="512x512" href="/assets/icon-512x512.png" />
<link rel="apple-touch-icon" sizes="1024x1024" href="/assets/icon-1024x1024.png" />
</head>
<body>
<div id="root"></div>

View file

@ -13,6 +13,8 @@ import { createIPCHandler } from "electron-trpc-experimental/main";
import { router } from "../../trpc/router";
import { EventHandlers } from "./event-handlers";
import path from "path";
export class AppManager {
private windowManager: WindowManager;
private serviceManager: ServiceManager;
@ -28,6 +30,13 @@ export class AppManager {
async initialize(): Promise<void> {
try {
await this.initializeDatabase();
// Set dock icon in development mode
if (process.platform === "darwin" && !app.isPackaged && app.dock) {
const iconPath = path.join(app.getAppPath(), "assets/logo.icns");
app.dock.setIcon(iconPath);
logger.main.debug("Set development dock icon");
}
await this.requestPermissions();
await this.serviceManager.initialize(this.windowManager);
this.exposeGlobalServices();

View file

@ -3,6 +3,15 @@
<head>
<meta charset="UTF-8" />
<title>Floating Button</title>
<!-- Favicon links -->
<link rel="icon" type="image/x-icon" href="/assets/logo.ico" />
<link rel="icon" type="image/png" sizes="16x16" href="/assets/icon-16x16.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/assets/icon-32x32.png" />
<link rel="icon" type="image/png" sizes="64x64" href="/assets/icon-64x64.png" />
<link rel="icon" type="image/png" sizes="128x128" href="/assets/icon-128x128.png" />
<link rel="icon" type="image/png" sizes="256x256" href="/assets/icon-256x256.png" />
<link rel="apple-touch-icon" sizes="512x512" href="/assets/icon-512x512.png" />
<link rel="apple-touch-icon" sizes="1024x1024" href="/assets/icon-1024x1024.png" />
<style>
body {
margin: 0;