mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2026-02-10 19:50:28 +08:00
0.1.3
This commit is contained in:
parent
85db2d6510
commit
484e0e0739
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mihomo-party",
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.3",
|
||||
"description": "Mihomo Party",
|
||||
"main": "./out/main/index.js",
|
||||
"author": "mihomo-party",
|
||||
|
||||
@ -152,7 +152,11 @@ const Tun: React.FC = () => {
|
||||
isLoading={loading}
|
||||
onPress={() => {
|
||||
setLoading(true)
|
||||
setupFirewall().finally(() => setLoading(false))
|
||||
setupFirewall()
|
||||
.then(() => {
|
||||
new Notification('防火墙重设成功')
|
||||
})
|
||||
.finally(() => setLoading(false))
|
||||
}}
|
||||
>
|
||||
重设防火墙
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user