From 69f205f7fcbdd19a2e8e9300a6b8ff080a3fc8c9 Mon Sep 17 00:00:00 2001 From: ZTY Date: Fri, 24 Jan 2025 18:47:34 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8Dandroid?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E8=BD=BD=E5=85=A5=E7=A8=8B=E5=BA=8F=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20(fix=20#271)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.tsx b/src/main.tsx index a1ec8ef0..b8e640ce 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -38,7 +38,7 @@ import "./polyfills/roundRect"; import { Dialog } from "./utils/dialog"; import { exists } from "./utils/fs"; import { exit, openDevtools, writeStderr, writeStdout } from "./utils/otherApi"; -import { getCurrentWindow, isDesktop, isMobile, isWeb } from "./utils/platform"; +import { getCurrentWindow, isDesktop, isWeb } from "./utils/platform"; import { Popup } from "./utils/popup"; import { InputElement } from "./core/render/domElement/inputElement"; @@ -50,7 +50,7 @@ const el = document.getElementById("root")!; // 在这里看着清爽一些,像一个列表清单一样。也方便调整顺序 (async () => { - const matches = !isWeb && !isMobile ? await getMatches() : null; + const matches = !isWeb && isDesktop ? await getMatches() : null; const isCliMode = isDesktop && matches?.args.output?.occurrences === 1; await Promise.all([ Settings.init(),