Linux proxy control script improvement (#7558)

* Proper Unix files new-line termination

* Fallback for proxy configuration on Linux

This introduces a special fallback for platform detection that helps
with configuring the proxy settings on minimal (DE-less) setups.

Also unifies the check for proper $MODE value.
This commit is contained in:
maximilionus
2025-07-09 15:59:24 +03:00
committed by GitHub
parent 683ca8af14
commit 916055d8bd
2 changed files with 19 additions and 11 deletions
@@ -7,4 +7,4 @@ X-GNOME-Autostart-enabled=true
Name[en_US]=v2rayN
Name=v2rayN
Comment[en_US]=v2rayN
Comment=v2rayN
Comment=v2rayN