diff --git a/MoonshineSDKInstaller/src/actionScripts/utils/HarmanInstallerScriptFix.as b/MoonshineSDKInstaller/src/actionScripts/utils/HarmanInstallerScriptFix.as index a4d9e82..6538ea0 100644 --- a/MoonshineSDKInstaller/src/actionScripts/utils/HarmanInstallerScriptFix.as +++ b/MoonshineSDKInstaller/src/actionScripts/utils/HarmanInstallerScriptFix.as @@ -41,7 +41,21 @@ package actionScripts.utils // installer.xml always triggering mountDMG on macOS installerContent = installerContent.replace( '', - '' + '' + ); + + // modify to `copyFromMount` to work correctly + installerContent = installerContent.replace( + '', + '' + ); + installerContent = installerContent.replace( + '', + '' + ); + installerContent = installerContent.replace( + '', + '' ); // we also need to normalize the downloaded zip file @@ -59,7 +73,15 @@ package actionScripts.utils // 3. individual copying resource list in installer.xml is outdated against harman sdk installerContent = installerContent.replace( '', - 'Unzipping ${download.dir}/airsdk/'+ tmpFileName +'' + '' + + 'Unzipping ${download.dir}/airsdk/'+ tmpFileName +'' + + '' + + '' + + '' + + '' + + '' + + '' + + '' ); } else diff --git a/MoonshineSDKInstaller/src/components/HelperInstaller.mxml b/MoonshineSDKInstaller/src/components/HelperInstaller.mxml index 4283564..f383e2e 100644 --- a/MoonshineSDKInstaller/src/components/HelperInstaller.mxml +++ b/MoonshineSDKInstaller/src/components/HelperInstaller.mxml @@ -390,12 +390,18 @@ { var installFolder:File = new File(itemDownloading.installToPath); - // fixing flex-config + // fixing flex-configs var flexConfig:File = installFolder.resolvePath("frameworks/flex-config.xml"); var flexConfigContent:String = FileUtils.readFromFile(flexConfig) as String; flexConfigContent = flexConfigContent.replace(/28.0<\/target-player>/g, "33.1"); flexConfigContent = flexConfigContent.replace(/43<\/swf-version>/g, "44"); FileUtils.writeToFile(flexConfig, flexConfigContent); + + flexConfig = installFolder.resolvePath("frameworks/air-config.xml"); + flexConfigContent = FileUtils.readFromFile(flexConfig) as String; + flexConfigContent = flexConfigContent.replace(/28.0<\/target-player>/g, "33.1"); + flexConfigContent = flexConfigContent.replace(/43<\/swf-version>/g, "44"); + FileUtils.writeToFile(flexConfig, flexConfigContent); } /*if (itemDownloading.type == ComponentTypes.TYPE_FLEX_HARMAN && !isHarmanAIRDownloading) diff --git a/MoonshineSDKInstallerGUICore/bin/flash/bin/MoonshineSDKInstallerGUICore.swc b/MoonshineSDKInstallerGUICore/bin/flash/bin/MoonshineSDKInstallerGUICore.swc index acee2cf..f666cef 100644 Binary files a/MoonshineSDKInstallerGUICore/bin/flash/bin/MoonshineSDKInstallerGUICore.swc and b/MoonshineSDKInstallerGUICore/bin/flash/bin/MoonshineSDKInstallerGUICore.swc differ diff --git a/MoonshineSDKInstallerGUICore/bin/flash/haxe/ApplicationMain.hx b/MoonshineSDKInstallerGUICore/bin/flash/haxe/ApplicationMain.hx index c7413f4..5ce7977 100644 --- a/MoonshineSDKInstallerGUICore/bin/flash/haxe/ApplicationMain.hx +++ b/MoonshineSDKInstallerGUICore/bin/flash/haxe/ApplicationMain.hx @@ -32,7 +32,7 @@ class ApplicationMain ManifestResources.init(config); - app.meta["build"] = "327"; + app.meta["build"] = "352"; app.meta["company"] = "Prominic.NET"; app.meta["file"] = "MoonshineSDKInstallerGUICore"; app.meta["name"] = "MoonshineSDKInstallerGUICore"; diff --git a/MoonshineSDKInstallerGUICore/bin/flash/haxe/debug.hxml b/MoonshineSDKInstallerGUICore/bin/flash/haxe/debug.hxml index 9238d28..91140a3 100644 --- a/MoonshineSDKInstallerGUICore/bin/flash/haxe/debug.hxml +++ b/MoonshineSDKInstallerGUICore/bin/flash/haxe/debug.hxml @@ -2,8 +2,8 @@ --macro lime._internal.macros.DefineMacro.run() -cp /usr/local/lib/haxe/lib/lime/7,9,0/src -D lime=7.9.0 --cp /usr/local/lib/haxe/lib/feathersui/1,0,0-beta,3/src --D feathersui=1.0.0-beta.3 +-cp /usr/local/lib/haxe/lib/feathersui/1,0,0-beta,4/src +-D feathersui=1.0.0-beta.4 -cp /usr/local/lib/haxe/lib/actuate/1,8,9/src -D actuate=1.8.9 -cp /usr/local/lib/haxe/lib/hxargs/3,0,2 diff --git a/MoonshineSDKInstallerGUICore/bin/flash/haxe/final.hxml b/MoonshineSDKInstallerGUICore/bin/flash/haxe/final.hxml index 21d8e39..7a87231 100644 --- a/MoonshineSDKInstallerGUICore/bin/flash/haxe/final.hxml +++ b/MoonshineSDKInstallerGUICore/bin/flash/haxe/final.hxml @@ -2,8 +2,8 @@ --macro lime._internal.macros.DefineMacro.run() -cp /usr/local/lib/haxe/lib/lime/7,9,0/src -D lime=7.9.0 --cp /usr/local/lib/haxe/lib/feathersui/1,0,0-beta,3/src --D feathersui=1.0.0-beta.3 +-cp /usr/local/lib/haxe/lib/feathersui/1,0,0-beta,4/src +-D feathersui=1.0.0-beta.4 -cp /usr/local/lib/haxe/lib/actuate/1,8,9/src -D actuate=1.8.9 -cp /usr/local/lib/haxe/lib/hxargs/3,0,2 diff --git a/MoonshineSDKInstallerGUICore/bin/flash/haxe/release.hxml b/MoonshineSDKInstallerGUICore/bin/flash/haxe/release.hxml index f69fd82..042d2a5 100644 --- a/MoonshineSDKInstallerGUICore/bin/flash/haxe/release.hxml +++ b/MoonshineSDKInstallerGUICore/bin/flash/haxe/release.hxml @@ -2,8 +2,8 @@ --macro lime._internal.macros.DefineMacro.run() -cp /usr/local/lib/haxe/lib/lime/7,9,0/src -D lime=7.9.0 --cp /usr/local/lib/haxe/lib/feathersui/1,0,0-beta,3/src --D feathersui=1.0.0-beta.3 +-cp /usr/local/lib/haxe/lib/feathersui/1,0,0-beta,4/src +-D feathersui=1.0.0-beta.4 -cp /usr/local/lib/haxe/lib/actuate/1,8,9/src -D actuate=1.8.9 -cp /usr/local/lib/haxe/lib/hxargs/3,0,2