mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 05:45:38 +00:00
AppImage: Include data in created images
This commit is contained in:
parent
f7a2448dfb
commit
a9b455a5c6
|
@ -39,6 +39,15 @@ for res in ${ICON_PNG_RESOLUTIONS[@]}; do
|
|||
done
|
||||
done
|
||||
|
||||
# Add data files into the AppDir
|
||||
DATA_DIR=$(dirname $(realpath "${BASH_SOURCE[0]}"))/../data
|
||||
echo "Data directory is: ${DATA_DIR}"
|
||||
for frontend in ${FRONTENDS[@]}; do
|
||||
CURRENT_APPDIR=${BUILD_DIR}/AppDir-duckstation-${frontend}
|
||||
mkdir -p ${CURRENT_APPDIR}/usr/bin
|
||||
cp -av ${DATA_DIR}/* ${CURRENT_APPDIR}/usr/bin
|
||||
done
|
||||
|
||||
# Outputted file from linuxdeploy is named based on the .desktop file Name key;
|
||||
# We rename it to something generic that buildbot or CI scripts can modify
|
||||
# as they wish outside of this script, e.g. to distinguish between Release or
|
||||
|
|
Loading…
Reference in a new issue