1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 04:34:43 +04:00

Merge remote-tracking branch 'OFW/dev' into dev [ci skip]

This commit is contained in:
MX
2025-04-12 19:03:51 +03:00
6 changed files with 27 additions and 14 deletions

View File

@@ -158,7 +158,7 @@ class AppManager:
f"App {kw.get('appid')} cannot have fal_embedded set"
)
if apptype in AppBuildset.dist_app_types:
if apptype in AppBuildset.DIST_APP_TYPES:
# For distributing .fap's resources, there's "fap_file_assets"
for app_property in ("resources",):
if kw.get(app_property):
@@ -261,14 +261,12 @@ class AppBuildset:
FlipperAppType.DEBUG: True,
FlipperAppType.MENUEXTERNAL: False,
}
@classmethod
@property
def dist_app_types(cls):
"""Applications that are installed on SD card"""
return list(
entry[0] for entry in cls.EXTERNAL_APP_TYPES_MAP.items() if entry[1]
)
DIST_APP_TYPES = list(
# Applications that are installed on SD card
entry[0]
for entry in EXTERNAL_APP_TYPES_MAP.items()
if entry[1]
)
@staticmethod
def print_writer(message):