-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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(/<target-player>28.0<\/target-player>/g, "<target-player>33.1</target-player>"); | ||
flexConfigContent = flexConfigContent.replace(/<swf-version>43<\/swf-version>/g, "<swf-version>44</swf-version>"); | ||
FileUtils.writeToFile(flexConfig, flexConfigContent); | ||
flexConfig = installFolder.resolvePath("frameworks/air-config.xml"); | ||
flexConfigContent = FileUtils.readFromFile(flexConfig) as String; | ||
flexConfigContent = flexConfigContent.replace(/<target-player>28.0<\/target-player>/g, "<target-player>33.1</target-player>"); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
rat-moonshine
Author
Collaborator
|
||
flexConfigContent = flexConfigContent.replace(/<swf-version>43<\/swf-version>/g, "<swf-version>44</swf-version>"); | ||
This comment has been minimized.
Sorry, something went wrong. |
||
FileUtils.writeToFile(flexConfig, flexConfigContent); | ||
} | ||
/*if (itemDownloading.type == ComponentTypes.TYPE_FLEX_HARMAN && !isHarmanAIRDownloading) | ||
|
This is exactly what is wrong. Value shouldn't be 33.1, it should be 32.0.