Skip to content

Commit 631144a

Browse files
authored
chore: fix wasm build (#26)
1 parent 1b14219 commit 631144a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

scripts/build-wasm.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ cp ghostty/zig-out/bin/ghostty-vt.wasm ./
4747
echo "🧹 Cleaning up..."
4848
cd ghostty
4949
git apply -R ../patches/ghostty-wasm-api.patch
50+
# Remove new files created by the patch
51+
rm -f include/ghostty/vt/terminal.h
52+
rm -f src/terminal/c/terminal.zig
5053
cd ..
5154

5255
SIZE=$(du -h ghostty-vt.wasm | cut -f1)

0 commit comments

Comments
 (0)