You've already forked hotpocket
18 lines
466 B
Objective-C
18 lines
466 B
Objective-C
//
|
|
// NSBundle+HotPocketExtensions.m
|
|
// HotPocket
|
|
//
|
|
// Created by Tomek Wójcik on 17/11/2025.
|
|
//
|
|
|
|
#import "NSBundle+HotPocketExtensions.h"
|
|
|
|
@implementation NSBundle (HotPocketExtensions)
|
|
|
|
+(NSString *)uname {
|
|
NSBundle *mainBundle = [NSBundle mainBundle];
|
|
return [NSString stringWithFormat:@"HotPocket v%@ (%@)", [mainBundle.infoDictionary valueForKey:@"CFBundleShortVersionString"], [mainBundle.infoDictionary valueForKey:@"CFBundleVersion"]];
|
|
}
|
|
|
|
@end
|