flipperdevices / flipperzero-firmware

Flipper Zero firmware source code
https://flipperzero.one
GNU General Public License v3.0
13.01k stars 2.75k forks source link

Self contained FAP's #1947

Closed FalsePhilosopher closed 2 years ago

FalsePhilosopher commented 2 years ago

Description of the feature you're suggesting.

Make faps self-contained by copying in the libraries and plugins that the application uses into the fap in the build process. Here is one FOSS project for creating appimages for an idea of building self contained executables. https://github.com/probonopd/linuxdeployqt

Anything else?

./fbt fap_{APPID} -e or --ext to build all the required libraries and modules the fap needs to be self contained into the fap.

skotopes commented 2 years ago

Faps are already self contained: external libraries are linked into fap itself and API throw relocatable symbols.