mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-22 18:31:59 -05:00
3188865313
shebang: Move parameters from set. Add newline after for consistency. curl: Add -f; Prevents output on error. Use -O where applicable; -o with the same filename as the URL is pointless. Add -S after -s: Makes curl still error despite being silent. build-symbols: Add zip fallback. get-discord-rpc: Move git clone parameters before repository for readability. Use --depth 1 to speed up cloning. install-nsis: Use ProgramData environment variable. build-appimage-docker.sh: Add -e to docker run. Run script directly. build-appimage.sh: Make if more consistent. Remove unused Travis scripts. setenv: unset instead of blanking variables. vstool.cmd: Use ProgramFiles(x86) environment variable.
17 lines
585 B
Bash
Executable file
17 lines
585 B
Bash
Executable file
#!/bin/bash -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
|
|
$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
|