فهرست منبع

removing ios references (tested on android)

Nem0oo 3 سال پیش
والد
کامیت
e2fac0fc1b
4فایلهای تغییر یافته به همراه10 افزوده شده و 11 حذف شده
  1. 6 7
      application.fam
  2. 2 2
      bt_trigger.c
  3. 2 2
      bt_trigger.h
  4. 0 0
      bt_trigger_logo.png

+ 6 - 7
application.fam

@@ -1,15 +1,14 @@
 App(
-    appid="ios_trigger",
-    name="iOS trigger",
+    appid="bt_trigger",
     apptype=FlipperAppType.EXTERNAL,
-    entry_point="ios_trigger_app",
-    cdefines=["APP_IOS_TRIGGER"],
+    name="BT trigger",
+    entry_point="bt_trigger_app",
+    cdefines=["APP_BT_TRIGGER"],
     requires=[
-        "gui",
+        "gui"
     ],
     stack_size=1 * 1024,
-    order=90,
-	fap_icon="ios_trigger_logo.png",
+	fap_icon="bt_trigger_logo.png",
     fap_category="Misc",
     fap_icon_assets="assets"
 )

+ 2 - 2
ios_trigger.c → bt_trigger.c

@@ -1,6 +1,6 @@
-#include "ios_trigger.h"
+#include "bt_trigger.h"
 
-__int32_t ios_trigger_app(void *p){
+__int32_t bt_trigger_app(void *p){
     //Fake using p to compile 
     UNUSED(p);
     AppStruct* app = appStructAlloc();

+ 2 - 2
ios_trigger.h → bt_trigger.h

@@ -16,8 +16,8 @@
 #include <assets_icons.h>
 //#include "ios_trigger_icons.h"
 
-#define HID_BT_KEYS_STORAGE_PATH EXT_PATH("apps_data/ios_trigger/hid.keys")
-#define TAG "iOs_trigger"
+#define HID_BT_KEYS_STORAGE_PATH EXT_PATH("apps_data/bt_trigger/hid.keys")
+#define TAG "bt_trigger"
 
 //Enum of allowed event types
 typedef enum{

+ 0 - 0
ios_trigger_logo.png → bt_trigger_logo.png