Skip to content

Commit

Permalink
feat: update app icon config
Browse files Browse the repository at this point in the history
Signed-off-by: seven <[email protected]>
  • Loading branch information
Blankll committed Jan 20, 2024
1 parent be58fdf commit c331f6f
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# dockit
# DocKit
[![Node.js CI](https://github.com/geek-fun/dockit/actions/workflows/node.yml/badge.svg)](https://github.com/geek-fun/dockit/actions/workflows/node.yml)
[![package release](https://github.com/geek-fun/dockit/actions/workflows/release.yml/badge.svg)](https://github.com/geek-fun/dockit/actions/workflows/release.yml)
[![codecov](https://codecov.io/gh/geek-fun/dockit/branch/master/graph/badge.svg?token=GqlkEVgMvR)](https://codecov.io/gh/geek-fun/dockit)
Expand Down
5 changes: 3 additions & 2 deletions forge.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
const author = 'geekfun <[email protected]>';
const homepage = 'https://dockit.geekfun.club';
const description = 'A faster, better and more stable NoSQL desktop tools';
const iconICO = './public/dockit.ico';
const iconPNG = './public/dockit.png';
const iconICO = 'src/assets/img/dockit.ico';
const iconPNG = 'src/assets/img/dockit.png';

module.exports = {
packagerConfig: {
asar: true,
productName: 'DocKit',
},
rebuildConfig: {},
makers: [
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Dockit</title>
<title>DocKit</title>
</head>
<body>
<div id="app"></div>
Expand Down
File renamed without changes.
File renamed without changes
1 change: 1 addition & 0 deletions src/electron/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const BrowserWindowOptions: BrowserWindowConstructorOptions = {
devTools: isDev,
webSecurity: false,
},
icon: 'src/assets/img/dockit.png',
};

const bypassCors = (mainWindow: BrowserWindow) => {
Expand Down
6 changes: 3 additions & 3 deletions src/electron/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import { app, Menu, MenuItemConstructorOptions, BrowserWindow } from 'electron';
const buildMenuTemplate = (mainWindow: BrowserWindow) =>
[
{
label: 'dockit',
label: 'DocKit',
submenu: [
{
label: 'About dockit',
selector: 'dockit:',
label: 'About DocKit',
selector: 'DocKit:',
},
{
type: 'separator',
Expand Down

0 comments on commit c331f6f

Please sign in to comment.