mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-06 15:51:53 +02:00
Remove use of build version in mac launcher settings
This commit is contained in:
parent
73c120b154
commit
1eaba67f67
1 changed files with 3 additions and 4 deletions
|
@ -289,12 +289,11 @@ static BOOL const DELETE_ZIP_FILES = TRUE;
|
||||||
Interface* interface = [[Interface alloc] initWith:interfaceAppPath];
|
Interface* interface = [[Interface alloc] initWith:interfaceAppPath];
|
||||||
currentVersion = [interface getVersion:&error];
|
currentVersion = [interface getVersion:&error];
|
||||||
if (currentVersion == 0 && error != nil) {
|
if (currentVersion == 0 && error != nil) {
|
||||||
NSLog(@"can't get version from interface, falling back to settings: %@", error);
|
NSLog(@"can't get version from interface: %@", error);
|
||||||
currentVersion = [Settings.sharedSettings latestBuildVersion];
|
|
||||||
}
|
}
|
||||||
} @catch (NSException *exception) {
|
} @catch (NSException *exception) {
|
||||||
NSLog(@"an exception was thrown: %@", exception);
|
NSLog(@"an exception was thrown while getting current interface version: %@", exception);
|
||||||
currentVersion = [Settings.sharedSettings latestBuildVersion];
|
currentVersion = 0;
|
||||||
}
|
}
|
||||||
return currentVersion;
|
return currentVersion;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue