server restore from dump

This commit is contained in:
Priec
2026-09-02 21:27:54 +02:00
parent 8eba1ef735
commit db55067708
5 changed files with 13 additions and 7 deletions

View File

@@ -162,11 +162,15 @@ case "$appimage_bundle_dir" in
exit 1
;;
esac
echo "+ yarn tauri build --bundles appimage"
gui_features=()
if [[ "$server_db_mode" == embedded ]]; then
gui_features=(--features full-embed)
fi
echo "+ yarn tauri build --bundles appimage ${gui_features[*]}"
set +e
APPIMAGE_EXTRACT_AND_RUN=1 \
CARGO_TARGET_DIR=/cargo-target \
yarn tauri build --bundles appimage
yarn tauri build --bundles appimage "${gui_features[@]}"
tauri_status=$?
set -e