diff --git a/install.bat b/install.bat index 2a17db9d0..4c4ffe085 100644 --- a/install.bat +++ b/install.bat @@ -48,7 +48,8 @@ set "URL=%URL%.tar.gz" echo Downloading Nitro from: %URL% powershell -Command "Invoke-WebRequest -OutFile '%TEMP%\nitro.tar.gz' '%URL%'" echo Extracting Nitro... -powershell -Command "Expand-Archive -Path '%TEMP%\nitro.tar.gz' -DestinationPath '%APPDATA%\nitro'" +powershell -Command "mkdir '%APPDATA%\nitro'" +powershell -Command "tar -zxvf '%TEMP%\nitro.tar.gz' -C '%APPDATA%\nitro'" :: Add nitro to the PATH setx PATH "%APPDATA%\nitro;%PATH%" @@ -61,4 +62,4 @@ echo rmdir /S /Q "%APPDATA%\nitro" >> "%APPDATA%\nitro\uninstallnitro.bat" :: Clean up del %TEMP%\nitro.tar.gz -endlocal \ No newline at end of file +endlocal