Skip to content

Commit

Permalink
Merge pull request #142 from williambj1/master
Browse files Browse the repository at this point in the history
Fix retrieving version from project files that contain `MODULE VERSION` inheritance
  • Loading branch information
benbaker76 authored Jul 8, 2021
2 parents 0ba215c + 0979400 commit 005942c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Hackintool/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -3051,7 +3051,7 @@ - (bool)tryGetProjectFileVersion:(NSString *)projectFileName projectVersion:(NSS
{
*projectVersion = [buildSettingsDictionary objectForKey:@"MODULE_VERSION"];

if (*projectVersion == nil || [*projectVersion isEqualToString:@"$(CURRENT_PROJECT_VERSION)"] || [*projectVersion isEqualToString:@"$CURRENT_PROJECT_VERSION"])
if (*projectVersion == nil || [*projectVersion isEqualToString:@"$(CURRENT_PROJECT_VERSION)"] || [*projectVersion isEqualToString:@"$CURRENT_PROJECT_VERSION"] || [*projectVersion isEqualToString:@"$(MODULE_VERSION)"] || [*projectVersion isEqualToString:@"$MODULE_VERSION"])
continue;
}

Expand Down

0 comments on commit 005942c

Please sign in to comment.