From a2e9e78457ad1d900a351400be44af3ca0856ff4 Mon Sep 17 00:00:00 2001 From: river Date: Tue, 24 Sep 2024 21:03:10 +0800 Subject: [PATCH] chore: update config --- package.json | 1 + src-tauri/tauri.conf.json | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 77b708861..0956fcfce 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "app:build": "yarn mask && yarn tauri build", "ios:init": "yarn tauri ios init", "ios:dev": "concurrently -r \"yarn mask:watch\" \"yarn tauri ios dev\"", + "ios:build": "yarn mask && yarn tauri ios build", "prompts": "node ./scripts/fetch-prompts.mjs", "prepare": "husky install", "proxy-dev": "sh ./scripts/init-proxy.sh && proxychains -f ./scripts/proxychains.conf yarn dev" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 4001b5441..a4579c0f8 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -14,9 +14,13 @@ "withGlobalTauri": true, "windows": [ { + "fullscreen": false, + "height": 600, + "resizable": true, "title": "NextChat", - "width": 800, - "height": 600 + "width": 960, + "hiddenTitle": true, + "titleBarStyle": "Overlay" } ], "security": {