Added support for FP 13 and AIR 13 release versions
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/f415a893 Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/f415a893 Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/f415a893 Branch: refs/heads/master Commit: f415a893e9d52ce747fd3a1900c0f65c3d0df16b Parents: 4b6c6ac Author: Justin Mclean <jmcl...@apache.org> Authored: Wed Apr 16 12:27:02 2014 +1000 Committer: Justin Mclean <jmcl...@apache.org> Committed: Wed Apr 16 12:27:02 2014 +1000 ---------------------------------------------------------------------- ide/addAIRtoSDK.sh | 19 +++++++++++++------ ide/checkAllPlayerGlobals.bat | 2 ++ ide/checkAllPlayerGlobals.sh | 4 ++-- ide/setFlashPlayerVersion.sh | 2 +- 4 files changed, 18 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f415a893/ide/addAIRtoSDK.sh ---------------------------------------------------------------------- diff --git a/ide/addAIRtoSDK.sh b/ide/addAIRtoSDK.sh index ba9d645..e355fab 100755 --- a/ide/addAIRtoSDK.sh +++ b/ide/addAIRtoSDK.sh @@ -30,13 +30,13 @@ AIR_VERSION="$1" OS=`uname` -if [[ "${AIR_VERSION}" != "4.0" && "${AIR_VERSION}" != "3.9" && "${AIR_VERSION}" != "3.8" - && "${AIR_VERSION}" != "3.7" && "${AIR_VERSION}" != "3.6" && "${AIR_VERSION}" != "3.5" - && "${AIR_VERSION}" != "3.4" && "${AIR_VERSION}" != "3.3" && "${AIR_VERSION}" != "3.2" - && "${AIR_VERSION}" != "3.1" && "${AIR_VERSION}" != "3.0" && "${AIR_VERSION}" != "2.7" - && "${AIR_VERSION}" != "2.6" ]] +if [[ "${AIR_VERSION}" != "13.0" &&"${AIR_VERSION}" != "4.0" && "${AIR_VERSION}" != "3.9" + && "${AIR_VERSION}" != "3.8" && "${AIR_VERSION}" != "3.7" && "${AIR_VERSION}" != "3.6" + && "${AIR_VERSION}" != "3.5" && "${AIR_VERSION}" != "3.4" && "${AIR_VERSION}" != "3.3" + && "${AIR_VERSION}" != "3.2" && "${AIR_VERSION}" != "3.1" && "${AIR_VERSION}" != "3.0" + && "${AIR_VERSION}" != "2.7" && "${AIR_VERSION}" != "2.6" ]] then - echo Unknown version ${AIR_VERISON} of AIR. Versions 2.6, 2.7, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9 and 4.0 are supported. + echo Unknown version ${AIR_VERISON} of AIR. Versions 2.6, 2.7, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0 and 13.0 are supported. exit 1; fi @@ -155,6 +155,13 @@ for configFile in "${configFiles[@]}" do echo Updating ${configFile} + # 13.0 needs FP 13 and swf version 24 + if [ ${AIR_VERSION} = "13.0" ] + then + updatePlayerVersion 13.0 "${configFile}" + updateSWFVersion 24 "${configFile}" + fi + # 4.0 needs FP 12 and swf version 23 if [ ${AIR_VERSION} = "4.0" ] then http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f415a893/ide/checkAllPlayerGlobals.bat ---------------------------------------------------------------------- diff --git a/ide/checkAllPlayerGlobals.bat b/ide/checkAllPlayerGlobals.bat index d2b96bf..89fe787 100644 --- a/ide/checkAllPlayerGlobals.bat +++ b/ide/checkAllPlayerGlobals.bat @@ -125,6 +125,8 @@ call :downloadPlayerGlobal 11.6 1b841a0a26ada3e5da26eb70c32ab263 http://download call :downloadPlayerGlobal 11.7 12656571c57b2ad641838e5695a00e27 http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_7.swc call :downloadPlayerGlobal 11.8 20ce9ae3b2ddd4a5ff3fe65c0a7f1139 http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_8.swc call :downloadPlayerGlobal 11.9 4cac2727e7b7e741075581f47c35f3af http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_9.swc +call :downloadPlayerGlobal 12.0 4db4e934f39f774ba68fcd9a79654971 http://download.macromedia.com/get/flashplayer/updaters/12/playerglobal12_0.swc +call :downloadPlayerGlobal 13.0 7f9bfe038f00e97bc44abf52bb5b1260 http://download.macromedia.com/get/flashplayer/updaters/12/playerglobal13_0.swc http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f415a893/ide/checkAllPlayerGlobals.sh ---------------------------------------------------------------------- diff --git a/ide/checkAllPlayerGlobals.sh b/ide/checkAllPlayerGlobals.sh index 6dc503f..8a5fc5f 100755 --- a/ide/checkAllPlayerGlobals.sh +++ b/ide/checkAllPlayerGlobals.sh @@ -120,6 +120,6 @@ downloadPlayerGlobal 11.6 1b841a0a26ada3e5da26eb70c32ab263 http://download.macro downloadPlayerGlobal 11.7 12656571c57b2ad641838e5695a00e27 http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_7.swc downloadPlayerGlobal 11.8 35bc69eec5091f70e221b4e63b66b60f http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_8.swc downloadPlayerGlobal 11.9 d18244c3c00c61a41f2d4d791d09fedb http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_9.swc -downloadPlayerGlobal 12.0 4db4e934f39f774ba68fcd9a79654971 http://download.macromedia.com/get/flashplayer/updaters/12/playerglobal12_0.swc -downloadPlayerGlobal 13.0 6a72a86fbe6f107be0094576fe184276 http://labsdownload.adobe.com/pub/labs/flashruntimes/flashplayer/flashplayer13_playerglobal.swc +downloadPlayerGlobal 12.0 4db4e934f39f774ba68fcd9a79654971 http://download.macromedia.com/get/flashplayer/updaters/12/playerglobal12_0.swc +downloadPlayerGlobal 13.0 7f9bfe038f00e97bc44abf52bb5b1260 http://download.macromedia.com/get/flashplayer/updaters/12/playerglobal13_0.swc http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f415a893/ide/setFlashPlayerVersion.sh ---------------------------------------------------------------------- diff --git a/ide/setFlashPlayerVersion.sh b/ide/setFlashPlayerVersion.sh index 897214b..94e2353 100755 --- a/ide/setFlashPlayerVersion.sh +++ b/ide/setFlashPlayerVersion.sh @@ -220,7 +220,7 @@ do if [ ${FLASH_VERSION} = "13.0" ] then - updateSWFVersion 23 "${configFile}" + updateSWFVersion 24 "${configFile}" fi if [ ${FLASH_VERSION} = "12.0" ]