vincelwt / chatgpt-mac

ChatGPT for Mac, living in your menubar.
https://twitter.com/vincelwt
6.38k stars 510 forks source link

FR: Homebrew Support #58

Open chrisgrieser opened 1 year ago

chrisgrieser commented 1 year ago

Thanks for this great app! Could you add it to homebrew for quick installation? e.g., https://docs.brew.sh/Taps

chenrui333 commented 1 year ago

I have just submitted it into homebrew-cask

vincelwt commented 1 year ago

Thank you @chenrui333

vincelwt commented 1 year ago

Not sure about the formula name with my username tho haha? Maybe "chatgpt-mac" if it's not taken?

oxoocoffee commented 1 year ago

Just did try to install a fresh version. Please note if that makes a difference that I am running case-sensitive FS

oxMBP ➜  /usr brew install vincelwt-chatgpt
==> Downloading https://formulae.brew.sh/api/formula.jws.json
######################################################################## 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
######################################################################## 100.0%
==> Downloading https://github.com/vincelwt/chatgpt-mac/releases/download/v0.0.5/Chatgpt-0.0.5-arm64.dmg
Already downloaded: /Users/oxoocoffee/Library/Caches/Homebrew/downloads/6262259079b361f3bb2375909c8f2f809f6daa7c4f089d4d8fc45783596a07b2--ChatGPT-0.0.5-arm64.dmg
==> Installing Cask vincelwt-chatgpt
==> Purging files for version 0.0.5 of Cask vincelwt-chatgpt
Error: It seems the App source '/opt/homebrew/Caskroom/vincelwt-chatgpt/0.0.5/Chatgpt.app' is not there.

Here is the output from `brew doctor

Warning: The filesystem on /System/Volumes/Data appears to be case-sensitive.
The default macOS filesystem is case-insensitive. Please report any apparent problems.

But I could mount directly downloaded packages by open /Users/oxoocoffee/Library/Caches/Homebrew/downloads/6262259079b361f3bb2375909c8f2f809f6daa7c4f089d4d8fc45783596a07b2--ChatGPT-0.0.5-arm64.dmg and drag manually to `/Applications'. The application could start just fine.

A side note: On the ultra-wide monitor the window opens up in the far corner of the screen. It would good to open it as some form ow window in the center of the screen with a keyboard shortcut. Kind of like Spotlight