bluecadet / launchpad

🚀 Suite of tools to manage media installations.
MIT License
32 stars 2 forks source link

Add one-liner cloud install script #21

Open BluecadetInstallations opened 2 years ago

BluecadetInstallations commented 2 years ago
del /F /Q launchpad-develop

powershell.exe -NoProfile -ExecutionPolicy Bypass "((new-object net.webclient).DownloadFile('https://github.com/bluecadet/launchpad/archive/refs/heads/develop.zip', '%cd%\launchpad.zip'))"

powershell.exe -NoProfile -ExecutionPolicy Bypass "Expand-Archive .\launchpad.zip -DestinationPath . -Force"

move /Y launchpad-develop launchpad

set $configPath=%~dp0mitm.ps1
cd %~dp0launchpad/packages/scaffold/
%~dp0launchpad/packages/scaffold/setup.bat %configPath%

pause
BluecadetInstallations commented 2 years ago

@shi-weili FYI working on this script; seems to work if run as admin but need to do some clean up