You've already forked OpenRCT2-Unity
mirror of
https://github.com/izzy2lost/OpenRCT2-Unity.git
synced 2026-03-10 12:38:22 -07:00
19 lines
588 B
Bash
Executable File
19 lines
588 B
Bash
Executable File
#!/bin/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 -Lo $linuxdeploy https://github.com/TheAssassin/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
|
|
chmod +x $linuxdeploy
|
|
pushd bin
|
|
$linuxdeploy --appimage-extract-and-run --appdir install/ --output appimage --desktop-file install/usr/share/applications/openrct2.desktop
|
|
popd
|
|
mkdir -p artifacts
|
|
mv bin/OpenRCT2*.AppImage artifacts
|
|
rm $linuxdeploy
|