get app info
This commit is contained in:
parent
08a4df5b51
commit
5d120c0834
@ -7,7 +7,6 @@ function dictFromNSDictionary(nsDict) {
|
||||
var value = nsDict.objectForKey_(key);
|
||||
jsDict[key.toString()] = value.toString();
|
||||
}
|
||||
|
||||
return jsDict;
|
||||
}
|
||||
|
||||
@ -45,7 +44,7 @@ function infoLookup(key) {
|
||||
return null;
|
||||
}
|
||||
|
||||
console.log(JSON.stringify({
|
||||
console.warn(JSON.stringify({
|
||||
name: infoLookup("CFBundleName"),
|
||||
bundleId: ObjC.classes.NSBundle.mainBundle().bundleIdentifier().toString(),
|
||||
version: infoLookup("CFBundleVersion"),
|
||||
|
Loading…
Reference in New Issue
Block a user