From 32ab0a0da2fb5a768fe4f9c631b51d1d883cc686 Mon Sep 17 00:00:00 2001 From: JSR Date: Thu, 19 Mar 2026 18:52:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=BC=BAiOS=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E6=97=B6=E7=AA=97=E5=8F=A3=E5=85=A8=E5=B1=8F=E5=8C=96=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/App.tsx b/src/App.tsx index bc69f69..998cb75 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -108,6 +108,12 @@ function MainContent(): React.JSX.Element { if (!api || !isIosDevice) return const fitIosWindow = async () => { + try { + await api.windowMaximize() + } catch { + void 0 + } + try { await api.windowSetResizable(false) } catch {