Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: 🤖 upgrade [email protected] #109

Merged
merged 2 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/lemon-garlics-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@lottiefiles/dotlottie-web': patch
---

chore: 🤖 upgrade thorvg to v0.12.2
4 changes: 2 additions & 2 deletions packages/web/build_wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Store positional arguments in descriptive variables for clarity
SCRIPT_NAME="$0"
EMSDK_PATH="$1"
THORVG_TAG_OR_BRANCH="${2:-tags/v0.11.6}"
THORVG_TAG_OR_BRANCH="${2:-tags/v0.12.2}"

# Ensure we always execute from the directory the script resides in
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
Expand Down Expand Up @@ -64,7 +64,7 @@ git fetch origin
git checkout "$THORVG_TAG_OR_BRANCH"
check_command_success "Error switching to the desired tag/branch: $THORVG_TAG_OR_BRANCH"

sed "s|EMSDK:|$EMSDK_PATH|g" wasm_cross.txt > /tmp/.wasm_cross.txt
sed "s|EMSDK:|$EMSDK_PATH|g" cross/wasm_x86_i686.txt > /tmp/.wasm_cross.txt
meson -Db_lto=true -Ddefault_library=static -Dstatic=true -Dloaders="lottie, png, jpg" --cross-file /tmp/.wasm_cross.txt build_wasm
ninja -C build_wasm/

Expand Down
Binary file modified packages/web/src/wasm/renderer.wasm
Binary file not shown.
Loading