Commit 0e993142 authored by Elly Fong-Jones's avatar Elly Fong-Jones Committed by Commit Bot

gcapi: update install script path

This changed during the bundle restructure but gcapi was never
updated to match.

Bug: 958976
Change-Id: I1a1e50823d454ba807fc352373909fdb395a8a30
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1888110Reviewed-by: default avatarMark Mentovai <mark@chromium.org>
Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#710465}
parent f822e697
......@@ -291,10 +291,10 @@ NSString* PathToFramework(NSString* app_path, NSDictionary* info_plist) {
NSString* version = [info_plist objectForKey:@"CFBundleShortVersionString"];
if (!version)
return nil;
return [[[app_path
stringByAppendingPathComponent:@"Contents/Versions"]
stringByAppendingPathComponent:version]
stringByAppendingPathComponent:@"Google Chrome Framework.framework"];
return [NSString pathWithComponents:@[
app_path, @"Contents", @"Frameworks", @"Google Chrome Framework.framework",
@"Versions", version
]];
}
NSString* PathToInstallScript(NSString* app_path, NSDictionary* info_plist) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment