Skip to content

Commit 2d0cac6

Browse files
committed
chore: download
1 parent 62cf15d commit 2d0cac6

File tree

5 files changed

+11
-12
lines changed

5 files changed

+11
-12
lines changed

README-ZH_CN.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
- [📝 更新日志](./UPDATE_LOG.md)
2121
- [🕒 历史版本...](https://github.com/lencx/ChatGPT/releases)
2222

23-
<!-- download start -->
23+
<!-- tr-download-start -->
2424

2525
### Windows
2626

@@ -63,7 +63,7 @@
6363
yay -S chatgpt-desktop-bin
6464
```
6565

66-
<!-- download end -->
66+
<!-- tr-download-end -->
6767

6868
## 📢 公告
6969

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
- [📝 Update Log](./UPDATE_LOG.md)
2424
- [🕒 History versions...](https://github.com/lencx/ChatGPT/releases)
2525

26-
<!-- download start -->
26+
<!-- tr-download-start -->
2727

2828
### Windows
2929

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

68-
<!-- download end -->
68+
<!-- tr-download-end -->
6969

7070
## 📢 Announcement
7171

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"fix:conf": "tr override --json.tauri_updater_active=false",
1212
"fix:tray": "tr override --json.tauri_systemTray_iconPath=\"icons/tray-icon-light.png\" --json.tauri_systemTray_iconAsTemplate=false",
1313
"fix:tray:mac": "tr override --json.tauri_systemTray_iconPath=\"icons/tray-icon.png\" --json.tauri_systemTray_iconAsTemplate=true",
14-
"download": "node ./scripts/download.js",
14+
"download": "tr download --mdfile=README.md,README-ZH_CN.md --f1=38 --f2=35",
1515
"fmt:rs": "cargo fmt",
1616
"tr": "tr",
1717
"tauri": "tauri",
@@ -59,7 +59,7 @@
5959
},
6060
"devDependencies": {
6161
"@tauri-apps/cli": "^1.2.2",
62-
"@tauri-release/cli": "^0.2.3",
62+
"@tauri-release/cli": "^0.2.5",
6363
"@types/lodash": "^4.14.191",
6464
"@types/node": "^18.7.10",
6565
"@types/react": "^18.0.15",

pnpm-lock.yaml

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/src/app/window.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,7 @@ pub mod cmd {
150150
.build()
151151
.unwrap();
152152
});
153-
}
154-
if let Some(v) = win {
153+
} else if let Some(v) = win {
155154
if !v.is_visible().unwrap() {
156155
v.show().unwrap();
157156
}

0 commit comments

Comments
 (0)