bcmd 0.6.14__py3-none-any.whl → 0.6.16__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of bcmd might be problematic. Click here for more details.
- bcmd/tasks/wslProxy.py +3 -3
- {bcmd-0.6.14.dist-info → bcmd-0.6.16.dist-info}/METADATA +1 -1
- {bcmd-0.6.14.dist-info → bcmd-0.6.16.dist-info}/RECORD +6 -6
- {bcmd-0.6.14.dist-info → bcmd-0.6.16.dist-info}/WHEEL +0 -0
- {bcmd-0.6.14.dist-info → bcmd-0.6.16.dist-info}/entry_points.txt +0 -0
- {bcmd-0.6.14.dist-info → bcmd-0.6.16.dist-info}/top_level.txt +0 -0
bcmd/tasks/wslProxy.py
CHANGED
|
@@ -16,9 +16,9 @@ async def linux(
|
|
|
16
16
|
'生成终端设置代理服务器的命令'
|
|
17
17
|
ip = "$(ip route | grep default | awk '{print $3}')"
|
|
18
18
|
lineAry = textToAry(f'''
|
|
19
|
-
export HTTP_PROXY=http://{ip}
|
|
20
|
-
export HTTPS_PROXY=http://{ip}
|
|
21
|
-
export ALL_PROXY=http://{ip}
|
|
19
|
+
export HTTP_PROXY=http://{ip}:{port}
|
|
20
|
+
export HTTPS_PROXY=http://{ip}:{port}
|
|
21
|
+
export ALL_PROXY=http://{ip}:{port}
|
|
22
22
|
curl https://google.com.hk
|
|
23
23
|
''')
|
|
24
24
|
msg = '\r\n' + '\n'.join(lineAry) + '\n'
|
|
@@ -19,7 +19,7 @@ bcmd/tasks/proxy.py,sha256=B85ebW_XPo_21j0YKf3oOK-8Crr85ezaPeZZnbnvO4E,1896
|
|
|
19
19
|
bcmd/tasks/time.py,sha256=ZiqA1jdgl-TBtFSOxxP51nwv4g9iZItmkFKpf9MKelk,2453
|
|
20
20
|
bcmd/tasks/upgrade.py,sha256=nyhcl5oGAUnOOR8JJZW2jfepcVJ6O9gufK8VgxUeil0,543
|
|
21
21
|
bcmd/tasks/wasabi.py,sha256=xWFAxprSIlBqDDMGaNXZFb-SahnW1d_R9XxSKRYIhnM,3110
|
|
22
|
-
bcmd/tasks/wslProxy.py,sha256=
|
|
22
|
+
bcmd/tasks/wslProxy.py,sha256=1i1oyeNzUlmJS0QHv5XQABANiy9i_o-IpE3lymHUBJc,2009
|
|
23
23
|
bcmd/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
24
24
|
bcmd/utils/utils.py,sha256=Oyf5ubxaCD_T2GOz3zJkR4AJzfVcfBqtmL8Gk8_gOJs,202
|
|
25
25
|
test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -27,8 +27,8 @@ test/conftest.py,sha256=grlPunlsvrkt_8QPckmF4POiKUPVxIxm2TPAh_ZB-zs,405
|
|
|
27
27
|
test/test_pdf.py,sha256=7yYlfydyhy2dmVYdTA5Vir2AI8TUdzEi55fL-AqJmio,1533
|
|
28
28
|
test/test_proxy.py,sha256=UMF2hFFGUEbJR1jT2mO_wdo-7Rfp0NDqIdTRnOmwtjY,164
|
|
29
29
|
test/test_wasabi.py,sha256=qqXG1Kb9hKH6t624R173j6LagkgmejN0CFYt7kL0nNs,1066
|
|
30
|
-
bcmd-0.6.
|
|
31
|
-
bcmd-0.6.
|
|
32
|
-
bcmd-0.6.
|
|
33
|
-
bcmd-0.6.
|
|
34
|
-
bcmd-0.6.
|
|
30
|
+
bcmd-0.6.16.dist-info/METADATA,sha256=Kea4dPNNm8Bn-BzR3-4Jt3lAE54x6-j5-62y3N2Ffbo,845
|
|
31
|
+
bcmd-0.6.16.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
32
|
+
bcmd-0.6.16.dist-info/entry_points.txt,sha256=mriCeYh3wksKcqq3-LtzyFkSCIdN1uZc1IJwom-SW1s,34
|
|
33
|
+
bcmd-0.6.16.dist-info/top_level.txt,sha256=fYY6tRrJ_G7tn24RXAG0M5ZKbcuaQznodfX1toFPSKs,10
|
|
34
|
+
bcmd-0.6.16.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|