mirror of
https://github.com/lencx/ChatGPT.git
synced 2024-10-01 01:06:13 -04:00
release
This commit is contained in:
parent
f0c635bd3b
commit
ef3820fad8
20
.github/workflows/release.yml
vendored
20
.github/workflows/release.yml
vendored
@ -90,13 +90,13 @@ jobs:
|
|||||||
publish_dir: ./updater
|
publish_dir: ./updater
|
||||||
force_orphan: true
|
force_orphan: true
|
||||||
|
|
||||||
publish-winget:
|
# publish-winget:
|
||||||
# Action can only be run on windows
|
# # Action can only be run on windows
|
||||||
runs-on: windows-latest
|
# runs-on: windows-latest
|
||||||
needs: [create-release, build-tauri]
|
# needs: [create-release, build-tauri]
|
||||||
steps:
|
# steps:
|
||||||
- uses: vedantmgoyal2009/winget-releaser@v1
|
# - uses: vedantmgoyal2009/winget-releaser@v1
|
||||||
with:
|
# with:
|
||||||
identifier: lencx.ChatGPT
|
# identifier: lencx.ChatGPT
|
||||||
token: ${{ secrets.WINGET_TOKEN }}
|
# token: ${{ secrets.WINGET_TOKEN }}
|
||||||
version: ${{ env.version }}
|
# version: ${{ env.version }}
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
|
|
||||||
- [ChatGPT_0.9.0_x64_en-US.msi](https://github.com/lencx/ChatGPT/releases/download/v0.9.0/ChatGPT_0.9.0_x64_en-US.msi):
|
- [ChatGPT_0.9.1_x64_en-US.msi](https://github.com/lencx/ChatGPT/releases/download/v0.9.1/ChatGPT_0.9.1_x64_en-US.msi):
|
||||||
- 使用 [winget](https://winstall.app/apps/lencx.ChatGPT):
|
- 使用 [winget](https://winstall.app/apps/lencx.ChatGPT):
|
||||||
```bash
|
```bash
|
||||||
# install the latest version
|
# install the latest version
|
||||||
@ -34,12 +34,12 @@
|
|||||||
winget install --id=lencx.ChatGPT -e --version 0.9.0
|
winget install --id=lencx.ChatGPT -e --version 0.9.0
|
||||||
```
|
```
|
||||||
|
|
||||||
**注意:如果安装路径和应用名称相同,会导致冲突 ([#142](https://github.com/lencx/ChatGPT/issues/142#issuecomment-0.9.0))**
|
**注意:如果安装路径和应用名称相同,会导致冲突 ([#142](https://github.com/lencx/ChatGPT/issues/142#issuecomment-0.9.1))**
|
||||||
|
|
||||||
### Mac
|
### Mac
|
||||||
|
|
||||||
- [ChatGPT_0.9.0_x64.dmg](https://github.com/lencx/ChatGPT/releases/download/v0.9.0/ChatGPT_0.9.0_x64.dmg)
|
- [ChatGPT_0.9.1_x64.dmg](https://github.com/lencx/ChatGPT/releases/download/v0.9.1/ChatGPT_0.9.1_x64.dmg)
|
||||||
- [ChatGPT.app.tar.gz](https://github.com/lencx/ChatGPT/releases/download/v0.9.0/ChatGPT.app.tar.gz)
|
- [ChatGPT.app.tar.gz](https://github.com/lencx/ChatGPT/releases/download/v0.9.1/ChatGPT.app.tar.gz)
|
||||||
- Homebrew \
|
- Homebrew \
|
||||||
_[Homebrew 快捷安装](https://brew.sh) ([Cask](https://docs.brew.sh/Cask-Cookbook)):_
|
_[Homebrew 快捷安装](https://brew.sh) ([Cask](https://docs.brew.sh/Cask-Cookbook)):_
|
||||||
```sh
|
```sh
|
||||||
@ -55,8 +55,8 @@
|
|||||||
|
|
||||||
### Linux
|
### Linux
|
||||||
|
|
||||||
- [chat-gpt_0.9.0_amd64.deb](https://github.com/lencx/ChatGPT/releases/download/v0.9.0/chat-gpt_0.9.0_amd64.deb)
|
- [chat-gpt_0.9.1_amd64.deb](https://github.com/lencx/ChatGPT/releases/download/v0.9.1/chat-gpt_0.9.1_amd64.deb)
|
||||||
- [chat-gpt_0.9.0_amd64.AppImage](https://github.com/lencx/ChatGPT/releases/download/v0.9.0/chat-gpt_0.9.0_amd64.AppImage): **工作可靠,`.deb` 运行失败时可以尝试它**
|
- [chat-gpt_0.9.1_amd64.AppImage](https://github.com/lencx/ChatGPT/releases/download/v0.9.1/chat-gpt_0.9.1_amd64.AppImage): **工作可靠,`.deb` 运行失败时可以尝试它**
|
||||||
- 使用 [AUR](https://aur.archlinux.org/packages/chatgpt-desktop-bin):
|
- 使用 [AUR](https://aur.archlinux.org/packages/chatgpt-desktop-bin):
|
||||||
```bash
|
```bash
|
||||||
yay -S chatgpt-desktop-bin
|
yay -S chatgpt-desktop-bin
|
||||||
|
12
README.md
12
README.md
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
|
|
||||||
- [ChatGPT_0.9.0_x64_en-US.msi](https://github.com/lencx/ChatGPT/releases/download/v0.9.0/ChatGPT_0.9.0_x64_en-US.msi): Direct download installer
|
- [ChatGPT_0.9.1_x64_en-US.msi](https://github.com/lencx/ChatGPT/releases/download/v0.9.1/ChatGPT_0.9.1_x64_en-US.msi): Direct download installer
|
||||||
- Use [winget](https://winstall.app/apps/lencx.ChatGPT):
|
- Use [winget](https://winstall.app/apps/lencx.ChatGPT):
|
||||||
```bash
|
```bash
|
||||||
# install the latest version
|
# install the latest version
|
||||||
@ -36,12 +36,12 @@
|
|||||||
winget install --id=lencx.ChatGPT -e --version 0.9.0
|
winget install --id=lencx.ChatGPT -e --version 0.9.0
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note: If the installation path and application name are the same, it will lead to conflict ([#142](https://github.com/lencx/ChatGPT/issues/142#issuecomment-0.9.0))**
|
**Note: If the installation path and application name are the same, it will lead to conflict ([#142](https://github.com/lencx/ChatGPT/issues/142#issuecomment-0.9.1))**
|
||||||
|
|
||||||
### Mac
|
### Mac
|
||||||
|
|
||||||
- [ChatGPT_0.9.0_x64.dmg](https://github.com/lencx/ChatGPT/releases/download/v0.9.0/ChatGPT_0.9.0_x64.dmg): Direct download installer
|
- [ChatGPT_0.9.1_x64.dmg](https://github.com/lencx/ChatGPT/releases/download/v0.9.1/ChatGPT_0.9.1_x64.dmg): Direct download installer
|
||||||
- [ChatGPT.app.tar.gz](https://github.com/lencx/ChatGPT/releases/download/v0.9.0/ChatGPT.app.tar.gz): Download the `.app` installer
|
- [ChatGPT.app.tar.gz](https://github.com/lencx/ChatGPT/releases/download/v0.9.1/ChatGPT.app.tar.gz): Download the `.app` installer
|
||||||
- Homebrew \
|
- Homebrew \
|
||||||
Or you can install with _[Homebrew](https://brew.sh) ([Cask](https://docs.brew.sh/Cask-Cookbook)):_
|
Or you can install with _[Homebrew](https://brew.sh) ([Cask](https://docs.brew.sh/Cask-Cookbook)):_
|
||||||
```sh
|
```sh
|
||||||
@ -57,8 +57,8 @@
|
|||||||
|
|
||||||
### Linux
|
### Linux
|
||||||
|
|
||||||
- [chat-gpt_0.9.0_amd64.deb](https://github.com/lencx/ChatGPT/releases/download/v0.9.0/chat-gpt_0.9.0_amd64.deb): Download `.deb` installer, advantage small size, disadvantage poor compatibility
|
- [chat-gpt_0.9.1_amd64.deb](https://github.com/lencx/ChatGPT/releases/download/v0.9.1/chat-gpt_0.9.1_amd64.deb): Download `.deb` installer, advantage small size, disadvantage poor compatibility
|
||||||
- [chat-gpt_0.9.0_amd64.AppImage](https://github.com/lencx/ChatGPT/releases/download/v0.9.0/chat-gpt_0.9.0_amd64.AppImage): Works reliably, you can try it if `.deb` fails to run
|
- [chat-gpt_0.9.1_amd64.AppImage](https://github.com/lencx/ChatGPT/releases/download/v0.9.1/chat-gpt_0.9.1_amd64.AppImage): Works reliably, you can try it if `.deb` fails to run
|
||||||
- Available on [AUR](https://aur.archlinux.org/packages/chatgpt-desktop-bin) with the package name `chatgpt-desktop-bin`, and you can use your favourite AUR package manager to install it.
|
- Available on [AUR](https://aur.archlinux.org/packages/chatgpt-desktop-bin) with the package name `chatgpt-desktop-bin`, and you can use your favourite AUR package manager to install it.
|
||||||
|
|
||||||
<!-- download end -->
|
<!-- download end -->
|
||||||
|
2
scripts/download.js
vendored
2
scripts/download.js
vendored
@ -13,8 +13,10 @@ async function rewrite(filename) {
|
|||||||
flag = true;
|
flag = true;
|
||||||
}
|
}
|
||||||
if (flag) {
|
if (flag) {
|
||||||
|
if (!/winget install --id=lencx.ChatGPT -e --version/.test(content[i])) {
|
||||||
content[i] = content[i].replace(/(\d+).(\d+).(\d+)/g, argv[0]);
|
content[i] = content[i].replace(/(\d+).(\d+).(\d+)/g, argv[0]);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (endRe.test(content[i])) {
|
if (endRe.test(content[i])) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user