Update Ghostgram features

This commit is contained in:
ichmagmaus 812
2026-03-07 18:15:32 +01:00
parent 1a3303b059
commit 24a7ec39d9
902 changed files with 148302 additions and 62355 deletions
@@ -1,5 +1,9 @@
#import <BuildConfig/BuildConfig.h>
#ifndef APP_SG_CONFIG
#define APP_SG_CONFIG ""
#endif
static NSString *telegramApplicationSecretKey = @"telegramApplicationSecretKey_v3";
API_AVAILABLE(ios(10))
@interface LocalPrivateKey : NSObject {
@@ -70,6 +74,7 @@ API_AVAILABLE(ios(10))
@interface BuildConfig () {
NSData * _Nullable _bundleData;
NSString * _Nonnull _sgConfig;
int32_t _apiId;
NSString * _Nonnull _apiHash;
NSString * _Nullable _appCenterId;
@@ -127,6 +132,7 @@ API_AVAILABLE(ios(10))
- (instancetype _Nonnull)initWithBaseAppBundleId:(NSString * _Nonnull)baseAppBundleId {
self = [super init];
if (self != nil) {
_sgConfig = @(APP_SG_CONFIG);
_apiId = APP_CONFIG_API_ID;
_apiHash = @(APP_CONFIG_API_HASH);
_appCenterId = @(APP_CONFIG_APP_CENTER_ID);