Main apps in ext apps folders (use if not in menu)

This commit is contained in:
Willy-JL
2023-08-04 20:55:55 +02:00
parent 4891a37033
commit 00728b688b
10 changed files with 10 additions and 7 deletions
+1
View File
@@ -7,4 +7,5 @@ App(
icon="A_BadKb_14",
order=70,
fap_icon="icon.png",
fap_category="Tools",
)
+1
View File
@@ -7,4 +7,5 @@ App(
icon="A_GPIO_14",
order=50,
fap_icon="icon.png",
fap_category="GPIO",
)
@@ -8,6 +8,7 @@ App(
stack_size=2 * 1024,
order=60,
fap_icon="icon.png",
fap_category="iButton",
)
App(
@@ -8,6 +8,7 @@ App(
stack_size=3 * 1024,
order=40,
fap_icon="icon.png",
fap_category="Infrared",
)
App(
+1
View File
@@ -8,6 +8,7 @@ App(
stack_size=2 * 1024,
order=20,
fap_icon="icon.png",
fap_category="RFID",
)
App(
+1
View File
@@ -8,6 +8,7 @@ App(
stack_size=5 * 1024,
order=30,
fap_icon="icon.png",
fap_category="NFC",
)
App(
+1
View File
@@ -19,6 +19,7 @@ App(
order=10,
fap_libs=["hwdrivers"],
fap_icon="icon.png",
fap_category="Sub-GHz",
)
App(
+1
View File
@@ -7,4 +7,5 @@ App(
icon="A_U2F_14",
order=80,
fap_icon="icon.png",
fap_category="USB",
)
@@ -7,4 +7,5 @@ App(
icon="A_Xtreme_14",
order=90,
fap_icon="icon.png",
fap_category="assets"
)
+1 -7
View File
@@ -176,13 +176,7 @@ class AppBuilder:
deployable = False
app_artifacts.dist_entries.append((deployable, fal_path))
else:
category = (
"assets"
if self.app.apptype == FlipperAppType.MENUEXTERNAL
and not self.app.fap_category
else self.app.fap_category
)
fap_path = f"apps/{category}/{app_artifacts.compact.name}"
fap_path = f"apps/{self.app.fap_category}/{app_artifacts.compact.name}"
app_artifacts.dist_entries.append(
(self.app.is_default_deployable, fap_path)
)