mirror of
https://github.com/FranP-code/ChatGPT.git
synced 2025-10-13 00:13:25 +00:00
Add Homebrew Cask
This commit is contained in:
17
README.md
17
README.md
@@ -23,6 +23,23 @@
|
|||||||
|
|
||||||
<!-- download end -->
|
<!-- 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
|
## Features
|
||||||
|
|
||||||
- multi-platform: `macOS` `Linux` `Windows`
|
- multi-platform: `macOS` `Linux` `Windows`
|
||||||
|
|||||||
22
casks/chatgpt.rb
Normal file
22
casks/chatgpt.rb
Normal 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
|
||||||
Reference in New Issue
Block a user