feat: add app icon

This commit is contained in:
talksik
2026-03-19 13:22:41 -07:00
parent 1524107cb1
commit 7ded8a39be
3 changed files with 6 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

+1
View File
@@ -10,6 +10,7 @@ import { FuseV1Options, FuseVersion } from '@electron/fuses';
const config: ForgeConfig = {
packagerConfig: {
asar: true,
icon: './assets/flowy',
},
rebuildConfig: {},
makers: [
+5
View File
@@ -7,6 +7,11 @@ if (started) {
app.quit();
}
// Set the dock icon for development mode on macOS.
if (process.platform === 'darwin' && !app.isPackaged) {
app.dock.setIcon(path.join(__dirname, '../../assets/icon.png'));
}
const createWindow = () => {
// Create the browser window.
const mainWindow = new BrowserWindow({