mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 12:12:39 +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];
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue