refactor: Remove native imaging and enable web worker

This commit is contained in:
Christian Kußowski 2025-12-24 13:09:57 +01:00
commit 70d2a81fee
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
5 changed files with 10 additions and 113 deletions

View file

@ -11,10 +11,5 @@ rm -f ./assets/vodozemac/vodozemac_bindings_dart*
mv .vodozemac/dart/web/pkg/vodozemac_bindings_dart* ./assets/vodozemac/
rm -rf .vodozemac
# Add native imaging:
cd web/
curl -L 'https://github.com/famedly/dart_native_imaging/releases/download/v0.2.1/native_imaging.zip' > native_imaging.zip # make sure to sync version with pubspec.yaml
unzip native_imaging.zip
mv js/* .
rmdir js
rm native_imaging.zip
flutter pub get
dart compile js ./web/native_executor.dart -o ./web/native_executor.js -m