From 1eaba67f67adb009d8e78d54c0cdd55ebde53590 Mon Sep 17 00:00:00 2001
From: Ryan Huffman <ryanhuffman@gmail.com>
Date: Thu, 22 Aug 2019 15:07:12 -0700
Subject: [PATCH] Remove use of build version in mac launcher settings

---
 launchers/darwin/src/Launcher.m | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/launchers/darwin/src/Launcher.m b/launchers/darwin/src/Launcher.m
index f88005f733..9a70ddf0e7 100644
--- a/launchers/darwin/src/Launcher.m
+++ b/launchers/darwin/src/Launcher.m
@@ -289,12 +289,11 @@ static BOOL const DELETE_ZIP_FILES = TRUE;
         Interface* interface = [[Interface alloc] initWith:interfaceAppPath];
         currentVersion = [interface getVersion:&error];
         if (currentVersion == 0 && error != nil) {
-            NSLog(@"can't get version from interface, falling back to settings: %@", error);
-            currentVersion = [Settings.sharedSettings latestBuildVersion];
+            NSLog(@"can't get version from interface: %@", error);
         }
     } @catch (NSException *exception) {
-        NSLog(@"an exception was thrown: %@", exception);
-        currentVersion = [Settings.sharedSettings latestBuildVersion];
+        NSLog(@"an exception was thrown while getting current interface version: %@", exception);
+        currentVersion = 0;
     }
     return currentVersion;
 }