This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # CLIProxyAPI Linux Installer | |
| # Linux-specific script that installs, upgrades, and manages CLIProxyAPI | |
| # Downloads, installs, and upgrades CLIProxyAPI while preserving configuration | |
| set -euo pipefail | |
| # Configuration | |
| REPO_OWNER="router-for-me" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function FindProxyForURL(url, host) | |
| { | |
| // | |
| //Exclude FTP from proxy | |
| // | |
| if (url.substring(0, 4) == "ftp:") | |
| { | |
| return "DIRECT"; | |
| } | |
| // |