Просмотр исходного кода

minor tweak updates and latest release

Kevin Bradley лет назад: 5
Родитель
Сommit
239640bf34
3 измененных файлов с 9 добавлено и 7 удалено
  1. 7 5
      flexinjected/Tweak.x
  2. 1 1
      flexinjected/layout/DEBIAN/control
  3. 1 1
      layout/DEBIAN/control

+ 7 - 5
flexinjected/Tweak.x

@@ -86,8 +86,9 @@ __attribute__ ((constructor)) static void FLEXInjected_main() {
       if (prox){
           NSLog(@"[FLEXInjected] found prox: %@", prox);
           if ([prox isContainerized]){
-            sendAlert = false;
-          } else {
+            //sendAlert = false;
+		icon = nil;
+	  } else {
                 icon = [prox tv_applicationFlatIcon];
           }
       } else {
@@ -95,14 +96,15 @@ __attribute__ ((constructor)) static void FLEXInjected_main() {
           [[NSBundle bundleWithPath:mcsPath] load];
           prox = [%c(LSApplicationProxy) applicationProxyForIdentifier:bundleID];
           if ([prox isContainerized]){
-            sendAlert = false;
-          } else {
+            //sendAlert = false;
+	    icon = nil;
+	  } else {
             icon = [prox tv_applicationFlatIcon];
            }
       }
       if (sendAlert){
         NSString *message = [NSString stringWithFormat:@"Injected into bundle: %@", bundleID];
-        sendNotification(@"FlexInjected", message, icon);
+        sendNotification(@"FLEXInjected", message, icon);
         NSLog(@"[FLEXInjected) bundle ID %@", bundleID);
       }
     dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(10 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{

+ 1 - 1
flexinjected/layout/DEBIAN/control

@@ -1,6 +1,6 @@
 Package: com.nito.flexinjected
 Name: FLEXInjected
-Depends: mobilesubstrate, preferenceloader (>=1.5-15), applist (>=1.3-11), libflex (>=4.1.1b-1)
+Depends: mobilesubstrate, preferenceloader (>=1.5-15), applist (>=1.3-11), libflex (>=4.1.1b-5)
 Version: 1.2
 Architecture: appletvos-arm64
 Description: Inject FLEX into your favorite Applications utilizing applist

+ 1 - 1
layout/DEBIAN/control

@@ -2,7 +2,7 @@ Package: libflex
 Section: Development
 Maintainer: Kevin Bradley
 Architecture: appletvos-arm64
-Version: 4.1.1b-1
+Version: 4.1.1b-5
 Depends: firmware (>= 9.0), mobilesubstrate
 Description: A library for Flipboard Explorer on tvOS, solid beta
 Name: libFLEX