chore: update logos and icons
BIN
apps/desktop/assets/icon-1024x1024.png
Normal file
|
After Width: | Height: | Size: 326 KiB |
BIN
apps/desktop/assets/icon-128x128.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
apps/desktop/assets/icon-16x16.png
Normal file
|
After Width: | Height: | Size: 587 B |
BIN
apps/desktop/assets/icon-256x256.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
apps/desktop/assets/icon-32x32.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
apps/desktop/assets/icon-512x512.png
Normal file
|
After Width: | Height: | Size: 128 KiB |
BIN
apps/desktop/assets/icon-64x64.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
apps/desktop/assets/logo.icns
Normal file
BIN
apps/desktop/assets/logo.ico
Normal file
|
After Width: | Height: | Size: 46 KiB |
|
|
@ -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"],
|
||||
),
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||