mirror of
https://github.com/zydeco/minivmac4ios.git
synced 2024-11-22 19:31:47 +00:00
show version of Mini vMac core in settings
This commit is contained in:
parent
deeb7b1247
commit
c3cc54e1f4
@ -73,7 +73,8 @@ typedef enum : NSInteger {
|
||||
aboutTitle = aboutData[@"title"];
|
||||
aboutItems = aboutData[@"items"];
|
||||
footerView = [[UITextView alloc] initWithFrame:CGRectZero];
|
||||
NSAttributedString *str = [[NSMutableAttributedString alloc] initWithData:[aboutData[@"footer.html"] dataUsingEncoding:NSUTF8StringEncoding]
|
||||
NSString *footerHTML = [aboutData[@"footer.html"] stringByReplacingOccurrencesOfString:@"$mnvmversion" withString:[[NSBundle mainBundle] objectForInfoDictionaryKey:@"MNVMVersion"]];
|
||||
NSAttributedString *str = [[NSAttributedString alloc] initWithData:[footerHTML dataUsingEncoding:NSUTF8StringEncoding]
|
||||
options:@{NSDocumentTypeDocumentAttribute: NSHTMLTextDocumentType,
|
||||
NSCharacterEncodingDocumentAttribute: @(NSUTF8StringEncoding)}
|
||||
documentAttributes:nil
|
||||
|
@ -42,7 +42,7 @@
|
||||
©2008-2017 Jesús A. Álvarez<br/>
|
||||
<a href="https://namedfork.net/minivmac">namedfork.net/minivmac</a><br/>
|
||||
<hr/>
|
||||
based on Mini vMac<br/>
|
||||
based on Mini vMac $mnvmversion<br/>
|
||||
©2001-2017 Paul C. Pratt<br/>
|
||||
<a href="http://gryphel.com/c/minivmac">gryphel.com/c/minivmac</a></string>
|
||||
</dict>
|
||||
|
Loading…
Reference in New Issue
Block a user