Skip to content

Commit 36b0142

Browse files
author
pompurin404
committed
0.1.3
1 parent 4c1e3a2 commit 36b0142

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mihomo-party",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "Mihomo Party",
55
"main": "./out/main/index.js",
66
"author": "mihomo-party",

src/renderer/src/pages/tun.tsx

+5-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,11 @@ const Tun: React.FC = () => {
152152
isLoading={loading}
153153
onPress={() => {
154154
setLoading(true)
155-
setupFirewall().finally(() => setLoading(false))
155+
setupFirewall()
156+
.then(() => {
157+
new Notification('防火墙重设成功')
158+
})
159+
.finally(() => setLoading(false))
156160
}}
157161
>
158162
重设防火墙

0 commit comments

Comments
 (0)