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:

Just run it like so:


bash -s < <(curl -s )

The run ‘Flash\ Player’


bash -s remove < <(curl -s )

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...


Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: