mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-20 14:07:02 +02:00
AppImage real?
Signed-off-by: swurl <swurl@swurl.xyz>
This commit is contained in:
parent
807397680a
commit
053d68deef
13 changed files with 402 additions and 2 deletions
|
|
@ -1,5 +1,9 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
set -e
|
||||
declare INSTALLABLES=`find build -type d -exec test -e '{}/cmake_install.cmake' ';' -print`
|
||||
set +e
|
||||
|
||||
GITDATE="$(git show -s --date=short --format='%ad' | sed 's/-//g')"
|
||||
GITREV="$(git show -s --format='%h')"
|
||||
ARTIFACTS_DIR="$PWD/artifacts"
|
||||
|
|
@ -44,6 +48,10 @@ create_appimage() {
|
|||
mkdir -p "${app_dir}/usr/optional/libstdc++"
|
||||
mkdir -p "${app_dir}/usr/optional/libgcc_s"
|
||||
|
||||
echo "Copying libraries..."
|
||||
|
||||
for i in $INSTALLABLES; do cmake --install $i --prefix ${app_dir}/usr; done
|
||||
|
||||
if [ -d "build/bin/Release" ]; then
|
||||
cp "build/bin/Release/${binary_name}" "${app_dir}/usr/bin/" || echo "${binary_name} not found for AppDir"
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue