mirror of
https://github.com/pompurin404/mihomo-party.git
synced 2024-11-16 11:42:19 +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…
Reference in New Issue
Block a user