Skip to content
This repository was archived by the owner on Jun 17, 2025. It is now read-only.

Commit f69cda4

Browse files
committed
remove dock & better build
1 parent 2ddbc88 commit f69cda4

File tree

6 files changed

+13906
-2683
lines changed

6 files changed

+13906
-2683
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
This is a simple app that makes ChatGPT live in your menubar.
44

5-
Download from the "Releases" section.
5+
<p align="center">
6+
<img src="./images/screenshot.jpeg" width="700">
7+
</p>
68

7-
![Screenshot](./images/screenshot.jpeg)
9+
Download from the "Releases" section.

forge.config.js

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,43 @@
1+
// const { parsed } = require("dotenv").config();
12
module.exports = {
23
packagerConfig: {
4+
name: "ChatGPT",
5+
executableName: "ChatGPT",
36
icon: "images/icon",
7+
extendInfo: {
8+
LSUIElement: "true",
9+
},
10+
// osxSign: {},
11+
// osxNotarize: {
12+
// tool: "notarytool",
13+
// appleId: parsed.APPLE_ID,
14+
// appleIdPassword: parsed.APPLE_PASSWORD,
15+
// teamId: parsed.APPLE_TEAM_ID,
16+
// },
417
},
518
publishers: [
619
{
720
name: "@electron-forge/publisher-github",
821
config: {
922
repository: {
1023
owner: "vincelwt",
11-
name: "chatgpt-menubar",
24+
name: "chatgpt-mac",
1225
},
1326
prerelease: true,
1427
},
1528
},
1629
],
30+
1731
rebuildConfig: {},
1832
makers: [
1933
{
2034
name: "@electron-forge/maker-squirrel",
2135
config: {},
2236
},
2337
{
24-
name: "@electron-forge/maker-zip",
38+
name: "@electron-forge/maker-dmg",
2539
platforms: ["darwin"],
40+
config: {},
2641
},
2742
{
2843
name: "@electron-forge/maker-deb",

index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const mb = menubar({
2929
},
3030
preloadWindow: true,
3131
showDockIcon: false,
32+
// showOnAllWorkspaces: false,
3233
// tray,
3334
icon: image,
3435
// icon: image,
@@ -37,6 +38,10 @@ const mb = menubar({
3738
mb.on("ready", () => {
3839
const { window } = mb;
3940

41+
app.dock.hide();
42+
43+
// window.setVisibleOnAllWorkspaces(true);
44+
4045
// open in new window
4146
app.on("web-contents-created", (event, contents) => {
4247
contents.on("will-navigate", (event, navigationUrl) => {

0 commit comments

Comments
 (0)