adminscripts icon indicating copy to clipboard operation
adminscripts copied to clipboard

Chrome 75 changes the path to the KeystoneRegistration.framework

Open sdpalmer opened this issue 5 years ago • 2 comments

The correct path is now /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/Frameworks/KeystoneRegistration.framework.

I don't know python as well, but I was able to figure out that I needed to change the keystone_registration_framework_path() subroutine to the following:

def keystone_registration_framework_path():
    """Returns KeystoneRegistration.framework path"""
    keystone_registration = os.path.join(chrome_path, 'Contents/Frameworks/Google Chrome Framework.framework/Frameworks/KeystoneRegistration.framework')
    return keystone_registration

I don't know enough, yet, to figure out how to make it work for both versions earlier than 75 and version 75 or later.

sdpalmer avatar Jun 10 '19 23:06 sdpalmer

@sdpalmer This was corrected using the latest push, no?

The correct path for version 75.0.3770.80 is: /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/75.0.3770.80/Frameworks/KeystoneRegistration.framework

You can see by running this command: find /Applications/Google\ Chrome.app -name "KeystoneRegistration.framework"

ryangball avatar Jun 11 '19 00:06 ryangball

@ryangball Yes, you are correct. Sorry. I had checked late last week and didn't see any changes and checked again earlier today before figuring what the cause was. However, this morning I only looked at the version history at the top of the script and seeing no changes listed I assumed there were no changes specific to Chrome 75.

sdpalmer avatar Jun 11 '19 03:06 sdpalmer