mirror of
https://github.com/Grasscutters/GrassClipper.git
synced 2024-11-29 10:36:32 +00:00
rollback to mitmdump 7.0.4
This commit is contained in:
parent
f421a36ca4
commit
1dd49ae9c8
@ -17,13 +17,13 @@ cd "%ORIGIN%"
|
|||||||
if not exist "%ORIGIN%/ext" mkdir "%ORIGIN%/ext"
|
if not exist "%ORIGIN%/ext" mkdir "%ORIGIN%/ext"
|
||||||
if not exist "%ORIGIN%/temp" mkdir "%ORIGIN%/temp"
|
if not exist "%ORIGIN%/temp" mkdir "%ORIGIN%/temp"
|
||||||
|
|
||||||
:: Begin by retrieving mitmproxy 8.0.0
|
:: Begin by retrieving mitmproxy 7.0.4
|
||||||
powershell Invoke-WebRequest -Uri https://snapshots.mitmproxy.org/8.0.0/mitmproxy-8.0.0-windows.zip -OutFile "%ORIGIN%/temp/mitmproxy-8.0.0-windows.zip"
|
powershell Invoke-WebRequest -Uri https://snapshots.mitmproxy.org/7.0.4/mitmproxy-7.0.4-windows.zip -OutFile "%ORIGIN%/temp/mitmproxy-7.0.4-windows.zip"
|
||||||
|
|
||||||
echo Extracting...
|
echo Extracting...
|
||||||
|
|
||||||
:: Extract from temp/ to ext/ with powershell
|
:: Extract from temp/ to ext/ with powershell
|
||||||
powershell Expand-Archive -Path "%ORIGIN%/temp/mitmproxy-8.0.0-windows.zip" -DestinationPath "%ORIGIN%/ext/" -Force
|
powershell Expand-Archive -Path "%ORIGIN%/temp/mitmproxy-7.0.4-windows.zip" -DestinationPath "%ORIGIN%/ext/" -Force
|
||||||
|
|
||||||
del /s /q "%ORIGIN%/temp"
|
del /s /q "%ORIGIN%/temp"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user