This commit is contained in:
Bryce Covert
2017-05-17 19:25:19 -07:00
parent 8695a8e408
commit 84144efef9
98 changed files with 13 additions and 5 deletions

View File

@@ -22,6 +22,9 @@ public class IOSLauncher extends IOSApplication.Delegate {
RT.var("clojure.core", "require").invoke(Symbol.intern("advent.core"));
try {
NSDictionary infoDictionary = NSBundle.getMainBundle().getInfoDictionary();
String version = infoDictionary.get(new NSString("CFBundleShortVersionString")).toString();
RT.var("advent.version", "version-override").bindRoot(version);
Game game = (Game) RT.var("advent.core", "advent").deref();
return new IOSApplication(game, config);
} catch (Exception e) {