chore: download

This commit is contained in:
lencx
2023-02-11 23:30:06 +08:00
parent 62cf15d952
commit 2d0cac6766
5 changed files with 11 additions and 12 deletions

View File

@@ -20,7 +20,7 @@
- [📝 更新日志](./UPDATE_LOG.md) - [📝 更新日志](./UPDATE_LOG.md)
- [🕒 历史版本...](https://github.com/lencx/ChatGPT/releases) - [🕒 历史版本...](https://github.com/lencx/ChatGPT/releases)
<!-- download start --> <!-- tr-download-start -->
### Windows ### Windows
@@ -63,7 +63,7 @@
yay -S chatgpt-desktop-bin yay -S chatgpt-desktop-bin
``` ```
<!-- download end --> <!-- tr-download-end -->
## 📢 公告 ## 📢 公告

View File

@@ -23,7 +23,7 @@
- [📝 Update Log](./UPDATE_LOG.md) - [📝 Update Log](./UPDATE_LOG.md)
- [🕒 History versions...](https://github.com/lencx/ChatGPT/releases) - [🕒 History versions...](https://github.com/lencx/ChatGPT/releases)
<!-- download start --> <!-- tr-download-start -->
### Windows ### Windows
@@ -65,7 +65,7 @@
- Also, [Aur](https://aur.archlinux.org/packages/chatgpt-desktop-git) available with the package name `chatgpt-desktop-git`. - 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 --> <!-- chatgpt-desktop-git always builds the latest commits of main branch -->
<!-- download end --> <!-- tr-download-end -->
## 📢 Announcement ## 📢 Announcement

View File

@@ -11,7 +11,7 @@
"fix:conf": "tr override --json.tauri_updater_active=false", "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": "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", "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", "fmt:rs": "cargo fmt",
"tr": "tr", "tr": "tr",
"tauri": "tauri", "tauri": "tauri",
@@ -59,7 +59,7 @@
}, },
"devDependencies": { "devDependencies": {
"@tauri-apps/cli": "^1.2.2", "@tauri-apps/cli": "^1.2.2",
"@tauri-release/cli": "^0.2.3", "@tauri-release/cli": "^0.2.5",
"@types/lodash": "^4.14.191", "@types/lodash": "^4.14.191",
"@types/node": "^18.7.10", "@types/node": "^18.7.10",
"@types/react": "^18.0.15", "@types/react": "^18.0.15",

8
pnpm-lock.yaml generated
View File

@@ -5,7 +5,7 @@ specifiers:
'@monaco-editor/react': ^4.4.6 '@monaco-editor/react': ^4.4.6
'@tauri-apps/api': ^1.2.0 '@tauri-apps/api': ^1.2.0
'@tauri-apps/cli': ^1.2.2 '@tauri-apps/cli': ^1.2.2
'@tauri-release/cli': ^0.2.3 '@tauri-release/cli': ^0.2.5
'@types/lodash': ^4.14.191 '@types/lodash': ^4.14.191
'@types/node': ^18.7.10 '@types/node': ^18.7.10
'@types/react': ^18.0.15 '@types/react': ^18.0.15
@@ -60,7 +60,7 @@ dependencies:
devDependencies: devDependencies:
'@tauri-apps/cli': 1.2.3 '@tauri-apps/cli': 1.2.3
'@tauri-release/cli': 0.2.3 '@tauri-release/cli': 0.2.5
'@types/lodash': 4.14.191 '@types/lodash': 4.14.191
'@types/node': 18.11.19 '@types/node': 18.11.19
'@types/react': 18.0.27 '@types/react': 18.0.27
@@ -1221,10 +1221,10 @@ packages:
'@tauri-apps/cli-win32-x64-msvc': 1.2.3 '@tauri-apps/cli-win32-x64-msvc': 1.2.3
dev: true dev: true
/@tauri-release/cli/0.2.3: /@tauri-release/cli/0.2.5:
resolution: resolution:
{ {
integrity: sha512-Xzn/UtOpu68Ic21GmhTMKWqBXo1Al6TfUkuBy7EMuy6p2LPoLGHT3rND1yjqbqco0drU8wsAU8xGahFuvXLY6A==, integrity: sha512-cP6+pKjVOkJu/ZpBW0YtpDxlZOzCnsz+s5cE259zpxM9EWZpgNwpxu7MMvVJZ6ZBUSBWWkDpwxOW9llfPphHuQ==,
} }
engines: { node: '>=v14.16.0' } engines: { node: '>=v14.16.0' }
hasBin: true hasBin: true

View File

@@ -150,8 +150,7 @@ pub mod cmd {
.build() .build()
.unwrap(); .unwrap();
}); });
} } else if let Some(v) = win {
if let Some(v) = win {
if !v.is_visible().unwrap() { if !v.is_visible().unwrap() {
v.show().unwrap(); v.show().unwrap();
} }