Skip to content

Commit

Permalink
Tweaked Windows installation script
Browse files Browse the repository at this point in the history
  • Loading branch information
ariostas committed Mar 23, 2022
1 parent dca2f8e commit 67c5d4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/windows/install.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ set PWS=powershell.exe -ExecutionPolicy Bypass -NoLogo -NoProfile

docker info || echo. && echo "Please make sure that Docker is installed and running" && timeout /t 10 && exit

docker build -t cytools --build-arg USERNAME=root --build-arg USERID=0 --build-arg ARCH=amd64 --build-arg AARCH=x86_64 --build-arg VIRTUAL_ENV=/opt/cytools/cytools-venv/ --build-arg ALLOW_ROOT_ARG="--allow-root" ../../ || echo. && echo "There was an error while building the image. Please let the developers know, and try using a stable version of the package." && timeout /t 10 && exit
sudo docker rmi cytools || echo "Old CYTools image does not exist or cannot be deleted"
docker build --force-rm -t cytools --build-arg USERNAME=root --build-arg USERID=0 --build-arg ARCH=amd64 --build-arg AARCH=x86_64 --build-arg VIRTUAL_ENV=/opt/cytools/cytools-venv/ --build-arg ALLOW_ROOT_ARG="--allow-root" ../../ || echo. && echo "There was an error while building the image. Please let the developers know, and try using a stable version of the package." && timeout /t 10 && exit

set TARGET="%appdata%\CYTools\cytools.bat"
set TARGETU="%appdata%\CYTools\uninstall.bat"
Expand Down

0 comments on commit 67c5d4c

Please sign in to comment.