Is there a way to add Google Chrome as an external web browser in Flash Builder Standalone for Mac?

后端 未结 8 2086
独厮守ぢ
独厮守ぢ 2020-12-13 02:51

It currently seems impossible to add Google Chrome as an external web browser in Flash Builder Standalone for Mac. In this context, Eclipse only cares about \"Unix executabl

相关标签:
8条回答
  • 2020-12-13 03:31

    You can do this from the UI in FB 4.5 - However, you need this exact path (unquoted and unescaped) in Preferences->Web Browser. Select "Use External Browser" and add the line below as the location (You may not need the 'name\="Google Chrome" bit, but looks like it worked all in one line for me):

    /Applications/Google Chrome.app/Contents/MacOS/Google Chrome" name\="Google Chrome
    
    0 讨论(0)
  • 2020-12-13 03:32

    For me worked with the following configuration:

    Location: /usr/bin/open
    Parameters: -a "Google Chrome.app" %URL%

    0 讨论(0)
  • 2020-12-13 03:34

    You need the path to the Unix Executable file of Google Chrome.

    How to:

    1. in Finder, right click Google Chrome.app "Show Package Content".
    2. Navigate down to Content/MacOS
    3. cmd + i and copy the path to the Unix Executable File
    4. In Eclipse Preferences Web Browser / Location, "brows.."
    5. Paste in the path to the Unix Executable.

    The path, something like: /Applications/Google Chrome.app/Contents/MacOS

    Location: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome Parameters: -sandbox

    0 讨论(0)
  • 2020-12-13 03:37

    The simplest way to get Flash Builder Standalone for Mac to recognize Chrome as the default system browser is

    1. Open Safari
    2. Go to menu Safari > Preference > General
    3. Change 'Default web browser' : Safari
    4. Change 'Default web browser' : Chrome
    5. Close Safari

    This solution is more general as it applies to any application which chooses the incorrect system browser. (thanks to Kelvin Lawrence at IBM)

    0 讨论(0)
  • 2020-12-13 03:38

    I found the solution in a blog's post that doesn't exist anymore, it involves configuring the Location to be /usr/bin/open and the parameter is %URL%.

    You need to make sure that google chrome is your default browser and it will work properly. This is the only method that worked for me on OSX Lion.

    0 讨论(0)
  • 2020-12-13 03:45

    You could create an executable here: /usr/local/bin/chrome with these contents:

    #!/bin/sh
    open -a 'Google Chrome' $1 &
    

    And then ensure Chrome's Preferences settings for "Web Browser" are this for external web browser "Google Chrome":

    Name: Google Chrome
    Location: /usr/local/bin/chrome
    Parameters: %URL%
    

    alt text

    0 讨论(0)
提交回复
热议问题