diff --git a/README.md b/README.md index c58d6dd..9a0902e 100644 --- a/README.md +++ b/README.md @@ -16,9 +16,8 @@ ProtonVPN-CLI is a full rewrite of the [bash protonvpn-cli](https://github.com/ProtonVPN/protonvpn-cli/blob/master/protonvpn-cli.sh) in Python, which adds more features and functionality with the purpose of improving readability, speed and reliability. -## Important information -The [official ProtonVPN Linux](https://protonvpn.com/blog/protonvpn-linux-app/) app is available for Debian 10, Ubuntu 20+, Mint 19+, MX Linux 19+, Fedora 31+ and Archlinux / Manjaro. Where possible, we recommend that you [upgrade to the official app](https://protonvpn.com/support/linux-vpn-setup/). -The community Linux client described below remains available for those who need it. +## Deprecation notice +Proton VPN is upgrading its OpenVPN infrastructure. This means the legacy OpenVPN configuration will stop working on 31 March 2025. After this date, you’ll need to switch to the [official Proton VPN for Linux app](https://protonvpn.com/support/linux-vpn-setup/), or reconfigure [OpenVPN](https://protonvpn.com/support/vpn-config-download/) or [WireGuard](https://protonvpn.com/support/wireguard-configurations/) manually. ## Installation & Updating diff --git a/protonvpn_cli/cli.py b/protonvpn_cli/cli.py index 3a050fa..6e1bf4c 100644 --- a/protonvpn_cli/cli.py +++ b/protonvpn_cli/cli.py @@ -65,6 +65,21 @@ get_config_value, is_valid_ip, pull_server_data, set_config_value, wait_for_network) +DEPRECATION_NOTICE = """ +/******************************************DEPRECATION NOTICE********************************************/ +/* */ +/* Proton VPN is upgrading its OpenVPN infrastructure. */ +/* This means the legacy OpenVPN configuration will stop working on 31 March 2025. */ +/* After this date, you’ll need to switch to the official Proton VPN for Linux app, */ +/* or reconfigure OpenVPN or WireGuard manually. */ +/* See: */ +/* - Official app: https://protonvpn.com/support/linux-vpn-setup/ */ +/* - WireGuard: https://protonvpn.com/support/wireguard-configurations/ */ +/* - OpenVPN: https://protonvpn.com/support/vpn-config-download/ */ +/* */ +/********************************************************************************************************/ +""" + def main(): """Main function""" @@ -78,11 +93,7 @@ def main(): def cli(): """Run user's input command.""" - if shutil.which("NetworkManager") or shutil.which("nmcli"): - print( - "\nProtonVPN now offers an official Linux app which includes a graphical user interface.\n" - "Visit https://protonvpn.com/support/official-linux-client to upgrade." - ) + print(DEPRECATION_NOTICE) # Initial log values change_file_owner(os.path.join(CONFIG_DIR, "pvpn-cli.log"))