Fix rust flatpak

This commit is contained in:
Tobias Fella
2025-03-22 17:38:41 +01:00
parent 9e24c855b6
commit 4d7b788160
5 changed files with 5307 additions and 0 deletions

15
flatpak/regenerate-sources.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -e
export GIT_CLONE_ARGS="--depth 1 --single-branch"
export FLATPAK_DIR="$(readlink -f $(dirname $0))"
cd ${FLATPAK_DIR}
if [ ! -d flatpak-builder-tools ]; then
git clone ${GIT_CLONE_ARGS} https://github.com/flatpak/flatpak-builder-tools
else
git -C flatpak-builder-tools pull
fi
./flatpak-builder-tools/cargo/flatpak-cargo-generator.py -o generated-sources.json ../../integral/src/sdk/Cargo.lock