mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-25 22:08:23 +00:00
Some checks are pending
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
21 lines
935 B
Bash
Executable file
21 lines
935 B
Bash
Executable file
# SPDX-FileCopyrightText: 2024 shadPS4 Emulator Project
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#!/bin/bash
|
|
|
|
if [[ -z $GITHUB_WORKSPACE ]]; then
|
|
GITHUB_WORKSPACE="${PWD%/*}"
|
|
fi
|
|
|
|
# Prepare Tools for building the AppImage
|
|
wget -q https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
|
|
wget -q https://github.com/linuxdeploy/linuxdeploy-plugin-checkrt/releases/download/continuous/linuxdeploy-plugin-checkrt-x86_64.sh
|
|
|
|
chmod a+x linuxdeploy-x86_64.AppImage
|
|
chmod a+x linuxdeploy-plugin-checkrt-x86_64.sh
|
|
|
|
# Build AppImage
|
|
./linuxdeploy-x86_64.AppImage --appdir AppDir
|
|
./linuxdeploy-plugin-checkrt-x86_64.sh --appdir AppDir
|
|
./linuxdeploy-x86_64.AppImage --appdir AppDir -d "$GITHUB_WORKSPACE"/dist/net.shadps4.shadPS4.desktop -e "$GITHUB_WORKSPACE"/build/shadps4 -i "$GITHUB_WORKSPACE"/src/images/net.shadps4.shadPS4.svg --output appimage
|
|
mv shadPS4-x86_64.AppImage Shadps4-sdl.AppImage
|