diff --git a/buildall.sh b/buildall.sh index 2840b75..c14b2e1 100644 --- a/buildall.sh +++ b/buildall.sh @@ -24,12 +24,13 @@ for i in $(seq 0 $(expr $(jq '. | length' < apps.json) - 1)); do inkscape icon.svg --export-filename=icon.png --export-width=1024 convert -background none icon.png -gravity center -extent 1024x1024 icon-square.png cd .. - fs-dir-cache gc unused --seconds "$((7 * 24 * 60 * 60))" # delete caches not used in more than a week - cache_dir=$(fs-dir-cache lock --key-file Cargo.toml) - trap "fs-dir-cache unlock --dir ${cache_dir}" EXIT + #this is completely unusable with tauri at the moment + #fs-dir-cache gc unused --seconds "$((7 * 24 * 60 * 60))" # delete caches not used in more than a week + #cache_dir=$(fs-dir-cache lock --key-file Cargo.toml) + #trap "fs-dir-cache unlock --dir ${cache_dir}" EXIT cargo tauri build --target-dir="${cache_dir}/target" - cargo tauri build --target x86_64-pc-windows-msvc --target-dir="${cache_dir}/target" - cargo tauri build --target x86_64-apple-darwin --target-dir="${cache_dir}/target" + cargo tauri build --target x86_64-pc-windows-msvc + cargo tauri build --target x86_64-apple-darwin cd .. cd .. done \ No newline at end of file