From ab0568875d6571baede157f2517b69f2a73870ea Mon Sep 17 00:00:00 2001 From: billz Date: Sun, 15 Oct 2023 21:17:16 +0200 Subject: [PATCH] Set provider cmd_overrides, status codes --- config/vpn-providers.json | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/config/vpn-providers.json b/config/vpn-providers.json index ce7c75a7..45b3bb96 100644 --- a/config/vpn-providers.json +++ b/config/vpn-providers.json @@ -4,29 +4,41 @@ "id": 1, "name": "ExpressVPN", "bin_path": "/usr/bin/expressvpn", - "install_page": "", - "commands": "connect disconnect status version" + "install_page": "https://www.expressvpn.com/support/vpn-setup/app-for-linux/", + "cmd_overrides": { + "countries": "list" + }, + "status": { + "connected": "connected" + } }, { "id": 2, "name": "Mullvad VPN", "bin_path": "/usr/bin/mullvad", "install_page": "https://mullvad.net/en/download/vpn/linux", - "commands": "connect disconnect status version" + "cmd_overrides": { + } }, { "id": 3, "name": "NordVPN", "bin_path": "/usr/bin/nordvpn", "install_page": "https://nordvpn.com/download/linux/", - "commands": "connect disconnect status version" + "cmd_overrides": { + }, + "status": { + "connected": "connected", + "disconnected": "disconnected" + } }, { "id": 4, "name": "Proton VPN", "bin_path": "/usr/bin/protonvpn-cli", "install_page": "https://protonvpn.com/support/linux-vpn-tool/", - "commands": "connect disconnect status version" + "cmd_overrides": { + } } ] }