this repo has no description

commands: fix section icon patch

+3 -3
+3 -3
packages/core-extensions/src/commands/index.ts
··· 53 53 } 54 54 }, 55 55 { 56 - find: ".icon,bot:null===", 56 + find: ".icon,bot:null==", 57 57 replace: { 58 - match: /(\.useMemo\(\(\)=>{)(if\((\i)\.type)/, 59 - replacement: (_, before, after, section) => `${before} 58 + match: /(\.useMemo\(\(\)=>{(var \i;)?)((return |if\()(\i)\.type)/, 59 + replacement: (_, before, beforeVar, after, afterIf, section) => `${before} 60 60 if (${section}.id==="${APPLICATION_ID}") return "https://moonlight-mod.github.io/favicon.png"; 61 61 ${after}` 62 62 }