summarylogtreecommitdiffstats
path: root/netease-cloud-music-unblock-enhanced
diff options
context:
space:
mode:
authorbilabila2024-05-01 17:14:21 +0800
committerbilabila2024-05-01 17:14:21 +0800
commitf67eb7d068e9c2d3cfd1ac0d83f57066a5b7212d (patch)
tree703e9d47cceda5d9c3c3d3fa58d3c67ba0a2d24f /netease-cloud-music-unblock-enhanced
parentb571cb22a09b2f12277d7da5397af7dd73f87a6a (diff)
downloadaur-f67eb7d068e9c2d3cfd1ac0d83f57066a5b7212d.tar.gz
fix proxy env
Diffstat (limited to 'netease-cloud-music-unblock-enhanced')
-rwxr-xr-xnetease-cloud-music-unblock-enhanced2
1 files changed, 2 insertions, 0 deletions
diff --git a/netease-cloud-music-unblock-enhanced b/netease-cloud-music-unblock-enhanced
index 1db37821e1bb..05ce604f3ec8 100755
--- a/netease-cloud-music-unblock-enhanced
+++ b/netease-cloud-music-unblock-enhanced
@@ -5,4 +5,6 @@ cd /usr/share/$name
port=($(comm -23 <(seq 49152 65535 | sort) <(ss -Htan | awk '{print $4}' | cut -d':' -f2 | sort -u) | shuf | head -n 2))
node ./app.js -p ${port[0]}:${port[1]} "$@" &
export all_proxy=http://127.0.0.1:${port[0]}
+export http_proxy=http://127.0.0.1:${port[0]}
+export https_proxy=http://127.0.0.1:${port[0]}
netease-cloud-music