mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-14 16:08:35 -07:00
Automatic fap category for extmainapp
This commit is contained in:
@@ -12,6 +12,5 @@ App(
|
|||||||
icon="A_Xtreme_14",
|
icon="A_Xtreme_14",
|
||||||
order=90,
|
order=90,
|
||||||
fap_libs=["assets"],
|
fap_libs=["assets"],
|
||||||
fap_category=".Main",
|
|
||||||
fap_icon="xtreme_app_10px.png",
|
fap_icon="xtreme_app_10px.png",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -176,7 +176,7 @@ class AppBuilder:
|
|||||||
deployable = False
|
deployable = False
|
||||||
app_artifacts.dist_entries.append((deployable, fal_path))
|
app_artifacts.dist_entries.append((deployable, fal_path))
|
||||||
else:
|
else:
|
||||||
fap_path = f"apps/{self.app.fap_category}/{app_artifacts.compact.name}"
|
fap_path = f"apps/{'.Main' if self.app.apptype == FlipperAppType.EXTMAINAPP else self.app.fap_category}/{app_artifacts.compact.name}"
|
||||||
app_artifacts.dist_entries.append(
|
app_artifacts.dist_entries.append(
|
||||||
(self.app.is_default_deployable, fap_path)
|
(self.app.is_default_deployable, fap_path)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user