feat: supported flatpak version v3

This commit is contained in:
kogeletey
2024-01-25 14:49:53 +03:00
parent 4a99eb94e2
commit 43509fc943
20 changed files with 501 additions and 478 deletions

15
flatpak/build-depot.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env sh
directory_bin="/lume/src-tauri/bin"
target="x86_64-unknown-linux-gnu"
cd modules/depot
check_directory_keep=$(ls $directory_bin | grep -vE '.keep$' | wc -l)
echo $(ls $directory_bin | grep -vE '.keep$')
if [ $check_directory_keep -eq 0 ]; then
cargo build --release
mv target/release/depot "$directory_bin/depot-$target"
fi