unleashed-firmware icon indicating copy to clipboard operation
unleashed-firmware copied to clipboard

FBT parameters for "Version with extra apps"

Open michelinok opened this issue 2 years ago • 7 comments
trafficstars

Describe the enhancement you're suggesting.

Please add instructions on how to compile the "Version with extra apps" using fbt. Any help is really appreciated (i did not find any "parameter" for that kind of build, maybe i'm blind and discard this message).

Many thanks

Anything else?

No response

michelinok avatar May 04 '23 08:05 michelinok

https://github.com/DarkFlippers/unleashed-firmware/blob/dev/.drone.yml#L39

Check out list of commands used to build "extra pack" package

xMasterX avatar May 05 '23 00:05 xMasterX

  - git clone https://github.com/xMasterX/all-the-plugins.git
  - cp -R all-the-plugins/apps/* assets/resources/apps/
  - rm -rf all-the-plugins
  - export DIST_SUFFIX=YourVersion
  - export FORCE_NO_DIRTY=yes
  - rm -f build/f7-firmware-C/toolbox/version.*
  - ./fbt COMPACT=1 DEBUG=0 updater_package

You will need this, other commands is not required

xMasterX avatar May 05 '23 00:05 xMasterX

Thank you very much, gotta try now!

michelinok avatar May 05 '23 08:05 michelinok

Thank you very much, gotta try now!

if you are building dev branch of firmware you need to replace first command with this git clone --branch dev https://github.com/xMasterX/all-the-plugins.git

xMasterX avatar May 05 '23 10:05 xMasterX

Yep! Gotta trying again...I was having problems with extra apps only..trying again in some minutes

michelinok avatar May 05 '23 15:05 michelinok

Thank you very much, gotta try now!

if you are building dev branch of firmware you need to replace first command with this git clone --branch dev https://github.com/xMasterX/all-the-plugins.git

Thanks,worked perfectly now!

michelinok avatar May 05 '23 15:05 michelinok

This is now my current Windows script (if anyone wanna use it): Use it inside unleashed folder.

git pull git clone --branch dev https://github.com/xMasterX/all-the-plugins.git xcopy all-the-plugins\apps*.* assets\resources\apps\ /c/h/e/i/y rmdir /s all-the-plugins /Q set DIST_SUFFIX=yourdistname set FORCE_NO_DIRTY=yes del build\f7-firmware-C\toolbox\version.* /Q /F fbt.cmd COMPACT=1 DEBUG=0 updater_package

michelinok avatar May 08 '23 16:05 michelinok