Skip to content

Instantly share code, notes, and snippets.

@itod
Last active April 26, 2017 21:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save itod/0d8daa4df3ab316b5cba84e3d8283543 to your computer and use it in GitHub Desktop.
Save itod/0d8daa4df3ab316b5cba84e3d8283543 to your computer and use it in GitHub Desktop.
Run Fluid App with custom WebKit (In this case the system default. Which it should be using anyway, but for some reason it's not)
#!/bin/bash
osascript -e 'quit app "Gmail.app"'
export DYLD_FRAMEWORK_PATH="/System/Library/Frameworks/"
export WEBKIT_UNSET_DYLD_FRAMEWORK_PATH="YES"
osascript -e 'activate app "Gmail.app"'
# see also: https://github.com/WebKit/webkit/blob/master/Tools/Scripts/run-webkit-app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment