From b88bc7905f3ec39533c23d2f85adf5a94eddcfcb Mon Sep 17 00:00:00 2001 From: Peter <> Date: Mon, 20 May 2019 19:01:59 +0200 Subject: [PATCH] Update project --- Telegram-iOS.xcodeproj/project.pbxproj | 2 -- Telegram-iOS/main.m | 9 +++++++++ submodules/TelegramUI | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Telegram-iOS.xcodeproj/project.pbxproj b/Telegram-iOS.xcodeproj/project.pbxproj index 4711a26e59..acb6f43d25 100644 --- a/Telegram-iOS.xcodeproj/project.pbxproj +++ b/Telegram-iOS.xcodeproj/project.pbxproj @@ -303,7 +303,6 @@ D073E52222003E1E00742DDD /* Data.swift in Sources */ = {isa = PBXBuildFile; fileRef = D073E52122003E1E00742DDD /* Data.swift */; }; D084023220E1883500065674 /* ApplicationShortcutItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = D084023120E1883500065674 /* ApplicationShortcutItem.swift */; }; D08410451FABDC5D008FFE92 /* TGItemProviderSignals.m in Sources */ = {isa = PBXBuildFile; fileRef = D08410441FABDC5C008FFE92 /* TGItemProviderSignals.m */; }; - D08410481FABDCF2008FFE92 /* LegacyComponents.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D08410491FABDCF2008FFE92 /* LegacyComponents.framework */; }; D084104E1FABDCFD008FFE92 /* TGContactModel.m in Sources */ = {isa = PBXBuildFile; fileRef = D084104C1FABDCFD008FFE92 /* TGContactModel.m */; }; D084104F1FABDCFD008FFE92 /* TGMimeTypeMap.m in Sources */ = {isa = PBXBuildFile; fileRef = D084104D1FABDCFD008FFE92 /* TGMimeTypeMap.m */; }; D08410501FABDD54008FFE92 /* MtProtoKitDynamic.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D08410511FABDD54008FFE92 /* MtProtoKitDynamic.framework */; }; @@ -1251,7 +1250,6 @@ D0AF322C1FACA1B00097362B /* libc++.tbd in Frameworks */, D0AF32291FACA1920097362B /* Accelerate.framework in Frameworks */, D08410501FABDD54008FFE92 /* MtProtoKitDynamic.framework in Frameworks */, - D08410481FABDCF2008FFE92 /* LegacyComponents.framework in Frameworks */, D05F63721EC124D90004BE28 /* TelegramUI.framework in Frameworks */, D03B0E8A1D634B1100955575 /* Display.framework in Frameworks */, D03B0E8B1D634B1100955575 /* SwiftSignalKit.framework in Frameworks */, diff --git a/Telegram-iOS/main.m b/Telegram-iOS/main.m index 81d976a847..6e4c714868 100644 --- a/Telegram-iOS/main.m +++ b/Telegram-iOS/main.m @@ -1,6 +1,15 @@ #import +#import int main(int argc, char *argv[]) { + /*NSString *basePath = [[NSString stringWithUTF8String:argv[0]] stringByDeletingLastPathComponent]; + void *Share = dlopen([[basePath stringByAppendingPathComponent:@"PlugIns/Share.appex/Share"] UTF8String], RTLD_LAZY); + void *NotificationContent = dlopen([[basePath stringByAppendingPathComponent:@"PlugIns/NotificationContent.appex/NotificationContent"] UTF8String], RTLD_LAZY); + sleep(1000); + void *NotificationService = dlopen([[basePath stringByAppendingPathComponent:@"PlugIns/NotificationService.appex/NotificationService"] UTF8String], RTLD_LAZY); + void *SiriIntents = dlopen([[basePath stringByAppendingPathComponent:@"PlugIns/SiriIntents.appex/SiriIntents"] UTF8String], RTLD_LAZY); + void *Widget = dlopen([[basePath stringByAppendingPathComponent:@"PlugIns/Widget.appex/Widget"] UTF8String], RTLD_LAZY);*/ + @autoreleasepool { return UIApplicationMain(argc, argv, @"Application", @"AppDelegate"); } diff --git a/submodules/TelegramUI b/submodules/TelegramUI index bcbbe88854..94dcc9152c 160000 --- a/submodules/TelegramUI +++ b/submodules/TelegramUI @@ -1 +1 @@ -Subproject commit bcbbe888540a0099d4e69d040eed0f9fae62f844 +Subproject commit 94dcc9152c3571a5efa0cd9f440fc8aa07102abc