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