mirror of
https://github.com/FranP-code/ChatGPT.git
synced 2025-10-13 00:13:25 +00:00
Merge branch 'main' into dev
This commit is contained in:
@@ -37,6 +37,12 @@
|
|||||||
# install the specified version
|
# install the specified version
|
||||||
winget install --id=lencx.ChatGPT -e --version 0.10.0
|
winget install --id=lencx.ChatGPT -e --version 0.10.0
|
||||||
```
|
```
|
||||||
|
- Use [Chocolatey](https://community.chocolatey.org/packages/chatgpt/0.8.1#versionhistory):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# install the package
|
||||||
|
choco install chatgpt -y
|
||||||
|
```
|
||||||
|
|
||||||
**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.10.3))**
|
**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.10.3))**
|
||||||
|
|
||||||
|
|||||||
5
src-tauri/src/scripts/core.js
vendored
5
src-tauri/src/scripts/core.js
vendored
@@ -101,6 +101,11 @@ async function init() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Fix Chinese input method "Enter" on Safari
|
||||||
|
document.addEventListener("keydown", (e) => {
|
||||||
|
if(e.keyCode == 229) e.stopPropagation();
|
||||||
|
}, true)
|
||||||
|
|
||||||
if (window.location.host === 'chat.openai.com') {
|
if (window.location.host === 'chat.openai.com') {
|
||||||
window.__sync_prompts = async function() {
|
window.__sync_prompts = async function() {
|
||||||
await invoke('sync_prompts', { time: Date.now() });
|
await invoke('sync_prompts', { time: Date.now() });
|
||||||
|
|||||||
Reference in New Issue
Block a user