flutter-pi icon indicating copy to clipboard operation
flutter-pi copied to clipboard

Bundle Folder Structure

Open jwinarske opened this issue 3 years ago • 2 comments

@ardera Head's up on this. I use bundle folder structure for ivi-homescreen/flutter-auto and meta-flutter. It follows the linux GTK layout - post build. Maybe via --b option, or whatever. The optional components are very useful for debugging scenarios.

<bundle folder>
- data
    flutter_assets
    icuctl.dat <optional>
- lib
    libapp.so
    libflutter_engine.so <optional>

Patch here: https://github.com/meta-flutter/meta-flutter/pull/160/files

The only concern is that the patch as-is would be a breaking change for your users that don't use meta-flutter.

jwinarske avatar Aug 24 '22 15:08 jwinarske

Sure, would a build-flag work for that as well? Could also add a build-flag for the dunfell filesystem layout (that's mostly just app.so being called libapp.so, if #279 is resolved)

ardera avatar Aug 25 '22 16:08 ardera

@ardera Yeah whatever best fits your plans. A build flag is easy to manage.

jwinarske avatar Aug 25 '22 17:08 jwinarske

  • resolved in https://github.com/ardera/flutter-pi/pull/290

ardera avatar Nov 01 '22 13:11 ardera