Skip to content

Commit

Permalink
0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
pompurin404 committed Aug 7, 2024
1 parent 85db2d6 commit 484e0e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 5 additions & 1 deletion src/renderer/src/pages/tun.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,11 @@ const Tun: React.FC = () => {
isLoading={loading}
onPress={() => {
setLoading(true)
setupFirewall().finally(() => setLoading(false))
setupFirewall()
.then(() => {
new Notification('防火墙重设成功')
})
.finally(() => setLoading(false))
}}
>
重设防火墙
Expand Down

0 comments on commit 484e0e0

Please sign in to comment.