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
+1
View File
@@ -61,6 +61,7 @@
- 新增代理页排查提示,方便检查订阅和内核状态 - 新增代理页排查提示,方便检查订阅和内核状态
- 新增订阅更新频率提醒,间隔不足 24 小时时提示 - 新增订阅更新频率提醒,间隔不足 24 小时时提示
- 新增启动失败提示,显示原因并保存启动日志 - 新增启动失败提示,显示原因并保存启动日志
- 新增 TUN「Mips」堆栈选项,需配合 mihomo v1.19.31 及以上内核
**🍎 macOS** **🍎 macOS**
@@ -31,6 +31,13 @@ export const StackModeSwitch = (props: Props) => {
> >
Mixed Mixed
</Button> </Button>
<Button
variant={value?.toLowerCase() === 'mips' ? 'contained' : 'outlined'}
onClick={() => onChange?.('mips')}
sx={{ textTransform: 'capitalize' }}
>
Mips
</Button>
</ButtonGroup> </ButtonGroup>
) )
} }