diff --git a/package.json b/package.json index e35f9ad954e..5cef33bc45d 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "license": "mit", "scripts": { "dev": "next dev", - "build": "next build", + "build": "cross-env BUILD_MODE=standalone next build", "start": "next start", "lint": "next lint", "export": "cross-env BUILD_MODE=export BUILD_APP=1 yarn build", diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 154afc9667d..72db20cebb4 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -8,8 +8,8 @@ "withGlobalTauri": true }, "package": { - "productName": "chatgpt-next-web", - "version": "2.8.5" + "productName": "ChatGPT Next Web", + "version": "2.8.6" }, "tauri": { "allowlist": { @@ -85,7 +85,7 @@ "updater": { "active": true, "endpoints": [ - "https://github.com/Yidadaa/ChatGPT-Next-Web/releases/download/{{current_version}}/latest.json" + "https://github.com/Yidadaa/ChatGPT-Next-Web/releases/latest/download/latest.json" ], "dialog": false, "windows": {