Skip to content

Commit

Permalink
Update Adguard regex + cmd_overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
billz committed Nov 27, 2024
1 parent 72475b1 commit 83d9248
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/vpn-providers.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,11 @@
"countries": "list-locations",
"connect": "connect -y -l",
"log": "status",
"account": "license",
"version": "--version"
},
"regex": {
"status": "\/VPN is disconnected\/",
"status": "\/vpn is disconnected\/",
"pattern": "/^([A-Z]{2})\\s+.*?\\s([A-Za-z]+(?:\\s[A-Za-z]+)?)\\s+\\d+$/m",
"replace": "$2",
"slice": 3
Expand Down

0 comments on commit 83d9248

Please sign in to comment.