mirror of
https://github.com/ichmagmaus111/ghostgram.git
synced 2026-05-13 16:52:05 +02:00
Update Ghostgram features
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user