diff --git a/createAppx-cyg.sh b/createAppx-cyg.sh old mode 100755 new mode 100644 index a8ab11a..e08269e --- a/createAppx-cyg.sh +++ b/createAppx-cyg.sh @@ -2,8 +2,10 @@ cd "$(dirname "$0")" -tar -xvzf jre-8u*-windows-x64.tar.gz -mv jre1.8.* PackageFiles/jre +if [ ! -e PackageFiles/jre ]; then + tar -xvzf jre-8u*-windows-x64.tar.gz + mv jre1.8.* PackageFiles/jre +fi export WINDOWSSDK="/cygdrive/c/Program Files (x86)/Windows Kits/10/bin/10.0.15063.0/x64" diff --git a/createAppx.sh b/createAppx.sh old mode 100755 new mode 100644 index de3427e..3b4d901 --- a/createAppx.sh +++ b/createAppx.sh @@ -2,8 +2,10 @@ cd "$(dirname "$0")" -tar -xvzf jre-8u*-windows-x64.tar.gz -mv jre1.8.* PackageFiles/jre +if [ ! -e PackageFiles/jre ]; then + tar -xvzf jre-8u*-windows-x64.tar.gz + mv jre1.8.* PackageFiles/jre +fi export WINDOWSSDK="/mnt/c/Program Files (x86)/Windows Kits/10/bin/10.0.15063.0/x64"