Skip to content

Commit

Permalink
chore: download
Browse files Browse the repository at this point in the history
  • Loading branch information
lencx committed Feb 11, 2023
1 parent 62cf15d commit 2d0cac6
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README-ZH_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
- [📝 更新日志](./UPDATE_LOG.md)
- [🕒 历史版本...](https://github.com/lencx/ChatGPT/releases)

<!-- download start -->
<!-- tr-download-start -->

### Windows

Expand Down Expand Up @@ -63,7 +63,7 @@
yay -S chatgpt-desktop-bin
```

<!-- download end -->
<!-- tr-download-end -->

## 📢 公告

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
- [📝 Update Log](./UPDATE_LOG.md)
- [🕒 History versions...](https://github.com/lencx/ChatGPT/releases)

<!-- download start -->
<!-- tr-download-start -->

### Windows

Expand Down Expand Up @@ -65,7 +65,7 @@
- Also, [Aur](https://aur.archlinux.org/packages/chatgpt-desktop-git) available with the package name `chatgpt-desktop-git`.
<!-- chatgpt-desktop-git always builds the latest commits of main branch -->

<!-- download end -->
<!-- tr-download-end -->

## 📢 Announcement

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"fix:conf": "tr override --json.tauri_updater_active=false",
"fix:tray": "tr override --json.tauri_systemTray_iconPath=\"icons/tray-icon-light.png\" --json.tauri_systemTray_iconAsTemplate=false",
"fix:tray:mac": "tr override --json.tauri_systemTray_iconPath=\"icons/tray-icon.png\" --json.tauri_systemTray_iconAsTemplate=true",
"download": "node ./scripts/download.js",
"download": "tr download --mdfile=README.md,README-ZH_CN.md --f1=38 --f2=35",
"fmt:rs": "cargo fmt",
"tr": "tr",
"tauri": "tauri",
Expand Down Expand Up @@ -59,7 +59,7 @@
},
"devDependencies": {
"@tauri-apps/cli": "^1.2.2",
"@tauri-release/cli": "^0.2.3",
"@tauri-release/cli": "^0.2.5",
"@types/lodash": "^4.14.191",
"@types/node": "^18.7.10",
"@types/react": "^18.0.15",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src-tauri/src/app/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,7 @@ pub mod cmd {
.build()
.unwrap();
});
}
if let Some(v) = win {
} else if let Some(v) = win {
if !v.is_visible().unwrap() {
v.show().unwrap();
}
Expand Down

0 comments on commit 2d0cac6

Please sign in to comment.