Revert "Update script"

This reverts commit 5c277597f7.
This commit is contained in:
Vlad 2020-06-04 23:44:17 +03:00
parent 5c277597f7
commit 4770ee7f78
1 changed files with 2 additions and 8 deletions

View File

@ -58,10 +58,8 @@ def generate_google_service_info_plist_path(google_service_info_plist_key, targe
google_service_info_plist_path += "AppStore-GoogleService-Info.plist"
elsif account_type == "Enterprise"
google_service_info_plist_path += "Enterprise-GoogleService-Info.plist"
elsif account_type == "Standard"
google_service_info_plist_path += "Standard-GoogleService-Info.plist"
else
google_service_info_plist_path = ""
google_service_info_plist_path += "Standard-GoogleService-Info.plist"
end
return config_option(google_service_info_plist_key, google_service_info_plist_path)
@ -91,11 +89,7 @@ def generate_missing_properties(target_name, properties, account_type)
end
unless properties.key?(google_service_info_plist_key)
google_service_info_plist = generate_google_service_info_plist_path(google_service_info_plist_key, target_name, account_type)
if google_service_info_plist[google_service_info_plist_key]
result.append(google_service_info_plist)
end
result.append(generate_google_service_info_plist_path(google_service_info_plist_key, target_name, account_type))
end
return result