Skip to content

Commit

Permalink
update builder script
Browse files Browse the repository at this point in the history
  • Loading branch information
tom95 committed Apr 14, 2023
1 parent 6d2d562 commit 65f692c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions scripts/build_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,19 @@ COG_VM_PARAM="-nosound -vm-display-null"
mkdir -p "${DEPLOY_PATH}"
cd "${DEPLOY_PATH}"

# BASE="Squeak5.3-19458-64bit-202003021730-Linux"
BASE="Squeak5.3-19458-64bit-All-in-One"



BASE="Squeak6.0-22104-64bit-All-in-One"
BASE_SHARED="$BASE.app"

print_info "Downloading $BASE image..."
wget --no-verbose "http://files.squeak.org/5.3/Squeak5.3-19458-64bit/$BASE.zip"
wget --no-verbose "http://files.squeak.org/6.0/Squeak6.0-22104-64bit/$BASE.zip"
unzip -q $BASE.zip
rm "$BASE.zip"

print_info "Preparing $BASE image..."
$BASE_SHARED/Contents/Linux-x86_64/bin/squeak $COG_VM_PARAM "$BASE_SHARED/Contents/Resources/Squeak5.3-19458-64bit.image" "$(pwd)/../scripts/prepare_image.st" || EXIT_STATUS=$?
$BASE_SHARED/Contents/Linux-x86_64/bin/squeak $COG_VM_PARAM "$BASE_SHARED/Contents/Resources/Squeak6.0-22104-64bit.image" "$(pwd)/../scripts/prepare_image.st" || EXIT_STATUS=$?

print_info "Zipping package ..."
if [[ $EXIT_STATUS -eq 0 ]]; then
Expand Down

0 comments on commit 65f692c

Please sign in to comment.