Files
OpenRCT2-Web/scripts/build-appimage
T
Tulio Leao 44472e4ff8 Release v0.5.7
- Fix: [#16807] Error messages when trying to load regular JSON files as custom objects.
- Fix: [#18954] When researching Classic Mini Roller Coaster vehicles in Bumbly Beach, they all appear as new rides.
- Fix: [#21030, #26981] Slow object loading and index building when using RCT Classic or running from a Flatpak.
- Fix: [#24524] Some build types (like AppImage) lack information about their specific build.
- Fix: [#27264] Headless server crashes when loading a recolourable terrain surface.
- Fix: [#27286] Headless servers no longer write chat logs.
- Fix: [#27300] Walls cannot be placed on every edge of the Reverse Freefall/Air Powered flat to vertical slopes (original bug).
- Fix: [#27316] Height markers are incorrect on diagonal flat to left banked down, large gentle turn left and right banked large gentle turn pieces.
2026-11-01 07:29:24 -03:00

25 lines
917 B
Bash
Executable File

#!/usr/bin/env bash
set -e
echo -e "\033[0;36mBuilding AppImage for OpenRCT2...\033[0m"
# Ensure we are in root directory
basedir="$(readlink -f `dirname $0`/..)"
cd $basedir
linuxdeploy=/tmp/linuxdeploy-x86_64.AppImage
curl -fLo $linuxdeploy https://github.com/TheAssassin/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
chmod +x $linuxdeploy
pushd bin
cp install/usr/share/icons/hicolor/256x256/apps/openrct2.png install/openrct2.png
$linuxdeploy --appimage-extract-and-run --appdir install/ --output appimage --desktop-file install/usr/share/applications/io.openrct2.openrct2.desktop
popd
mkdir -p artifacts
# If APPIMAGE_FILE_NAME is set, use it as the filename, otherwise use the default
if [ -z "$APPIMAGE_FILE_NAME" ]; then
APPIMAGE_FILE_NAME=OpenRCT2-$OPENRCT2_VERSION-linux-x86_64.AppImage
fi
mv bin/OpenRCT2-x86_64.AppImage artifacts/$APPIMAGE_FILE_NAME
rm $linuxdeploy