mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-21 21:35:38 +00:00
CI: Fix Flathub update script
This commit is contained in:
parent
c1bf1e5369
commit
e40c022a0f
|
@ -21,12 +21,16 @@ echo "Updating files in ${OUTDIR}..."
|
|||
mkdir -p "${OUTDIR}"
|
||||
rm -fr "${OUTDIR}/modules"
|
||||
cp -a "${SCRIPTDIR}/modules" "${OUTDIR}/modules"
|
||||
cp "${SCRIPTDIR}/../shaderc-changes.patch" "${OUTDIR}/modules"
|
||||
|
||||
echo "Generate AppStream XML..."
|
||||
"${SCRIPTDIR}/../../scripts/generate-metainfo.sh" "${OUTDIR}"
|
||||
|
||||
echo "Patching Manifest Sources..."
|
||||
jq ".modules[2].sources = ["\
|
||||
jq ".sources[4] = {\"type\": \"patch\", \"path\": \"shaderc-changes.patch\"}" \
|
||||
"${SCRIPTDIR}/modules/22-shaderc.json" > "${OUTDIR}/modules/22-shaderc.json"
|
||||
|
||||
jq ".modules[3].sources = ["\
|
||||
"{\"type\": \"git\", \"url\": \"https://github.com/stenzek/duckstation.git\", \"commit\": \"${GIT_HASH}\", \"disable-shallow-clone\": true},"\
|
||||
"{\"type\": \"file\", \"path\": \"org.duckstation.DuckStation.metainfo.xml\", \"dest\": \"scripts/flatpak\"}]" \
|
||||
"${SCRIPTDIR}/${APPID}.json" > "${OUTMANIFEST}"
|
||||
|
|
Loading…
Reference in a new issue