From 396b11cc3dd8c081bfd8db5379ddfb30dc514b1c Mon Sep 17 00:00:00 2001
From: GyDi <segydi@foxmail.com>
Date: Thu, 9 Dec 2021 23:26:42 +0800
Subject: [PATCH] feat: set min windows

---
 src-tauri/tauri.conf.json | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index e61d95e..286d0ee 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -6,8 +6,8 @@
   "build": {
     "distDir": "../dist",
     "devPath": "http://localhost:3000/proxy",
-    "beforeDevCommand": "npm run web:dev",
-    "beforeBuildCommand": "npm run web:build"
+    "beforeDevCommand": "yarn run web:dev",
+    "beforeBuildCommand": "yarn run web:build"
   },
   "tauri": {
     "systemTray": {
@@ -63,7 +63,9 @@
         "resizable": true,
         "fullscreen": false,
         "decorations": true,
-        "transparent": false
+        "transparent": false,
+        "minWidth": 600,
+        "minHeight": 520
       }
     ],
     "security": {
-- 
GitLab