feat(tun): support mips stack from mihomo v1.19.31

Add `mips` to the TUN stack switch so the stack shipped in mihomo
v1.19.31 is selectable from the GUI. Older cores reject the value,
which the changelog entry discloses.
This commit is contained in:
Tunglies
2026-09-15 00:50:20 +08:00
parent d289a608d9
commit ce963d175a
2 changed files with 8 additions and 0 deletions
@@ -31,6 +31,13 @@ export const StackModeSwitch = (props: Props) => {
>
Mixed
</Button>
<Button
variant={value?.toLowerCase() === 'mips' ? 'contained' : 'outlined'}
onClick={() => onChange?.('mips')}
sx={{ textTransform: 'capitalize' }}
>
Mips
</Button>
</ButtonGroup>
)
}