This commit is contained in:
pompurin404 2024-08-06 23:01:06 +08:00
parent 85db2d6510
commit 484e0e0739
No known key found for this signature in database
2 changed files with 6 additions and 2 deletions

View File

@ -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",

View File

@ -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))
}} }}
> >