Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Unpacking the alpha Flex 2 framework from the Windows download for use on Mac OS X (See related posts)

Assumes you've already downloaded the Windows installer to your desktop. For more details see this post.


#!/bin/sh

mkdir /Library/flex2
cd /Library/flex2
unzip ~/Desktop/flexbuilder2_a1_standalone_10-14.exe InstallerData/Disk1/InstData/Resource1.zip -d tmp
unzip tmp/InstallerData/Disk1/InstData/Resource1.zip D_/builds/flex2/frameworks_zg_ia_sf.jar -d tmp
unzip tmp/D_/builds/flex2/frameworks_zg_ia_sf.jar -d frameworks
unzip tmp/InstallerData/Disk1/InstData/Resource1.zip D_/builds/flex2/lib_zg_ia_sf.jar -d tmp
unzip tmp/D_/builds/flex2/lib_zg_ia_sf.jar -d lib
unzip tmp/InstallerData/Disk1/InstData/Resource1.zip D_/builds/flex2/player/Version\ 8.5\ alpha\ 1/Debug/Install\ Flash\ Player\ 8.5\ OSX.dmg -d tmp
mv tmp/D_/builds/flex2/player/Version\ 8.5\ alpha\ 1/Debug/Install\ Flash\ Player\ 8.5\ OSX.dmg ~/Desktop/
rm -R tmp




You need to create an account or log in to post comments to this site.


Click here to browse all 5143 code snippets

Related Posts