1
0
mirror of https://github.com/lencx/ChatGPT.git synced 2024-10-01 01:06:13 -04:00

Merge pull request #12 from danielbayley/main

This commit is contained in:
lencx 2022-12-11 01:58:05 +08:00 committed by GitHub
commit abc8d28c01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 0 deletions

View File

@ -23,6 +23,23 @@
<!-- download end -->
## Install
Easily install with _[Homebrew](https://brew.sh) ([Cask](https://docs.brew.sh/Cask-Cookbook)):_
~~~ sh
brew tap lencx/chatgpt https://github.com/lencx/ChatGPT.git
brew install --cask chatgpt --no-quarantine
~~~
Also, if you keep a _[Brewfile](https://github.com/Homebrew/homebrew-bundle#usage)_, you can add something like this:
~~~ rb
repo = "lencx/chatgpt"
tap repo, "https://github.com/#{repo}.git"
cask "popcorn-time", args: { "no-quarantine": true }
~~~
## Features
- multi-platform: `macOS` `Linux` `Windows`

22
casks/chatgpt.rb Normal file
View File

@ -0,0 +1,22 @@
cask "chatgpt" do
version "0.1.7"
sha256 "1320b30a67e2506f9b45ffd2a48243d6141171c231dd698994ae5156a637eb3f"
url "https://github.com/lencx/ChatGPT/releases/download/v#{version}/ChatGPT_#{version}_x64.dmg"
name "ChatGPT"
desc "Desktop wrapper for OpenAI ChatGPT"
homepage "https://github.com/lencx/ChatGPT#readme"
app "ChatGPT.app"
uninstall quit: "com.lencx.chatgpt"
zap trash: [
"~/.chatgpt",
"~/Library/Caches/com.lencx.chatgpt",
"~/Library/HTTPStorages/com.lencx.chatgpt.binarycookies",
"~/Library/Preferences/com.lencx.chatgpt.plist",
"~/Library/Saved Application State/com.lencx.chatgpt.savedState",
"~/Library/WebKit/com.lencx.chatgpt",
]
end