Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions scripts/dev/download_pg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ARCH=""
OVERWRITE=1
SILENT_ARGS=""
BLEEDING_EDGE=0
DL_VERSION=2.7.0
DL_VERSION=2.8.0
TAG=""

printHelp(){
Expand Down Expand Up @@ -214,24 +214,24 @@ if [ "$PLATFORM" == "msys2" ] || [ "$PLATFORM" == "vs" ]; then
else
rsync -avzp "${OUTDIR}/${OUTPUT}/resources/app/app/projectGenerator.exe" "${OUTDIR}/${OUTPUT}/projectGeneratorCmd.exe"
fi
if command -v chmod &> /dev/null; then
# if command -v chmod &> /dev/null; then
chmod +x "${OUTDIR}/${OUTPUT}/projectGeneratorCmd.exe"
chmod +x "${OUTDIR}/${OUTPUT}/resources/app/app/projectGenerator.exe"
else
echo "Warning: chmod command not found, skipping permission adjustment."
fi
# else
# echo "Warning: chmod command not found, skipping permission adjustment."
# fi
else
if ! command -v rsync &> /dev/null; then
cp -arX "${OUTDIR}/${OUTPUT}/projectGenerator$EXT/Contents/Resources/app/app/projectGenerator" "${OUTDIR}/${OUTPUT}/projectGenerator"
else
rsync -avzp "${OUTDIR}/${OUTPUT}/projectGenerator$EXT/Contents/Resources/app/app/projectGenerator" "${OUTDIR}/${OUTPUT}/projectGenerator"
fi
if command -v chmod &> /dev/null; then
# if command -v chmod &> /dev/null; then
chmod +x "${OUTDIR}/${OUTPUT}/projectGenerator"
chmod +x "${OUTDIR}/${OUTPUT}/projectGenerator$EXT/Contents/MacOS/projectGenerator"
else
echo "Warning: chmod command not found, skipping permission adjustment."
fi
# else
# echo "Warning: chmod command not found, skipping permission adjustment."
# fi
fi

echo " ------ "
Expand Down
Loading