Skip to content
March 24, 2012 / edeustace

Remote script to add/remove flash player to/from your path

When building Flash/Flex projects that have unit tests and command line builds, one needs to have the Flash Player on the environment path, so it can be launched programmatically.

It’s easy to do, but can be fiddly and a pain.

Here’s a remote shell script that will do everything for you:

https://github.com/edeustace/flashplayer-on-path

Just run it like so:

Add:

bash -s < <(curl -s https://raw.github.com/edeustace/flashplayer-on-path/master/run )

The run ‘Flash\ Player’

Remove:

bash -s remove < <(curl -s https://raw.github.com/edeustace/flashplayer-on-path/master/run )
 

It only works for Mac right now, but I'll update it soon so that it works on ubuntu. It works on Mac and Linux. As for windows that will require a different script so will need to look into how to do it. Or if anyone has any ideas on that already...

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: