Automatic fap category for extmainapp

This commit is contained in:
Willy-JL
2023-05-21 16:36:04 +01:00
parent 5dec3ed290
commit e7b203d3d7
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ class AppBuilder:
deployable = False
app_artifacts.dist_entries.append((deployable, fal_path))
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(
(self.app.is_default_deployable, fap_path)
)