Skip to content

Commit

Permalink
🐛 修复android无法载入程序的问题 (fix #267) (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
zty012 authored Jan 24, 2025
2 parents 251b492 + 69f205f commit 88c0273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const el = document.getElementById("root")!;
// 在这里看着清爽一些,像一个列表清单一样。也方便调整顺序

(async () => {
const matches = !isWeb ? await getMatches() : null;
const matches = !isWeb && isDesktop ? await getMatches() : null;
const isCliMode = isDesktop && matches?.args.output?.occurrences === 1;
await Promise.all([
Settings.init(),
Expand Down

0 comments on commit 88c0273

Please sign in to comment.