From 4a540736a1de4e62c9109be3aa0b320ee2396929 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Fri, 27 Sep 2024 09:36:21 +0900 Subject: [PATCH] Updated build-locally (step 1) [skip ci] --- automation_tools/update_es-de_manifest.sh | 2 +- developer_toolbox/build_locally.sh | 15 +++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/automation_tools/update_es-de_manifest.sh b/automation_tools/update_es-de_manifest.sh index f28f40981..da27cd4d0 100644 --- a/automation_tools/update_es-de_manifest.sh +++ b/automation_tools/update_es-de_manifest.sh @@ -12,7 +12,7 @@ command="/app/bin/es-de" echo -e "command: $command\n" >> "$manifest_header" sed -i '/^[[:space:]]*#/d' "$manifest_header" sed -i 's/[[:space:]]*#.*$//' "$manifest_header" -sed -n '/finish-args:/,${/cleanup:/q;p;}' RetroDECK/net.retrodeck.retrodeck.yml >> "$manifest_header" +sed -n '/finish-args:/,${/cleanup:/q;p;}' RetroDECK/net.retrodeck.es-de.yml >> "$manifest_header" sed -i 's/net.retrodeck.retrodeck/net.retrodeck.es-de/' "$manifest_header" diff --git a/developer_toolbox/build_locally.sh b/developer_toolbox/build_locally.sh index bb7166bef..3f8c33793 100755 --- a/developer_toolbox/build_locally.sh +++ b/developer_toolbox/build_locally.sh @@ -14,12 +14,15 @@ fi git submodule update --init --recursive export GITHUB_WORKSPACE="." +export FOLDER="es-de-build" # Initialize the Flatpak repo ostree init --mode=archive-z2 --repo=${GITHUB_WORKSPACE}/retrodeck-repo -cp net.retrodeck.retrodeck.appdata.xml net.retrodeck.retrodeck.appdata.xml.bak -cp net.retrodeck.retrodeck.yml net.retrodeck.retrodeck.yml.bak +automation_tools/update_es-de_manifest.sh + +cp net.retrodeck.es-de.appdata.xml net.retrodeck.es-de.appdata.xml.bak +cp net.retrodeck.es-de.yml net.retrodeck.es-de.yml.bak automation_tools/install_dependencies.sh #automation_tools/cooker_build_id.sh @@ -40,7 +43,7 @@ flatpak-builder --user --force-clean \ flatpak build-bundle "${GITHUB_WORKSPACE}/retrodeck-repo" "$GITHUB_WORKSPACE/RetroDECK-ES-DE.flatpak" net.retrodeck.es-de -rm -f net.retrodeck.retrodeck.appdata.xml -rm -f net.retrodeck.retrodeck.yml -cp net.retrodeck.retrodeck.appdata.xml.bak net.retrodeck.retrodeck.appdata.xml -cp net.retrodeck.retrodeck.yml.bak net.retrodeck.retrodeck.yml +rm -f net.retrodeck.es-de.appdata.xml +rm -f net.retrodeck.es-de.yml +cp net.retrodeck.es-de.appdata.xml.bak net.retrodeck.es-de.appdata.xml +cp net.retrodeck.es-de.yml.bak net.retrodeck.es-de.yml \ No newline at end of file