Open jackd opened 2 months ago
Managed to get things working with
dart pub global run --enable-experiment=native-assets native_add_app:native_add_app
Not quite as convenient as native_add_app
but I can't see any way to make the script pub makes at ~/.pub-cache/bin/native_add_app
play nicely.
Having said that, it would be nice if the error message was a little more informative. If I dart run bin/native_add_app
I get the much more helpful message:
Package(s) native_add_library require the native assets feature to be enabled. Enable native assets with `--enable-experiment=native-assets`.
I'm looking for a way to use native assets in a pub-configured executable.
I apologise in advance if this is already implemented / documented somewhere, but having tried to minimally change the native_add_app example I haven't had much luck.
Steps to reproduce:
dart pub get
in native_add_app and native_add_libraryResult: