Moonshine-IDE / Moonshine-SDK-Installer

To take full advantage of Moonshine IDE you will need third party SDKs like Apache® Flex or Apache® Royale. In order to make it easier for you to setup the required SDKs, we created the Moonshine SDK Installer.
https://moonshine-ide.com/download-sdk-installer/
Other
8 stars 2 forks source link

Update Harman AIR SDK to 50.2.2.1 #103

Closed Fancy2209 closed 1 year ago

Fancy2209 commented 1 year ago

Hello, I recently installed moonshine to learn AS3, but I noticed it has a Outdated Harman AIR SDK, are there any plans for it to be updated?

Current Version on the SDK Installer: 33.1.1.795 Current Version on Harman's Website: 50.2.2.1

piotrzarzycki21 commented 1 year ago

We will discuss on Wednesday with Team to update Air SDK to newest version.

piotrzarzycki21 commented 1 year ago

Actually after a bit more consideration please make an update to newest air. I will need that version as well. I have reviewed release notes of that air to check why version was changed from 33 to 50 and I don't see any harm there so we could provide trough our installer newest version.

rat-moonshine commented 1 year ago

I have updated configuration to download Harman AIR 50.2.1.1. Please, give this a try when a new development build is out.

Make sure, 50.2 is the version to be use in namespace.

If you see old AIR version-value in flex-sdk-description.xml please report. I may then need to work on that at some time.

JoelProminic commented 1 year ago

I tested the update, and I see the new SDK still has "33.1" as the AIR version in flex-sdk-description.xml (and thus in the Moonshine label):

<?xml version="1.0"?>
<flex-sdk-description>
<name>Apache Flex 4.16.1 FP32.0 AIR33.1 en_US</name>
<version>4.16.1</version>
<build>20171115</build>
</flex-sdk-description>

I also see that the About page is not detecting the latest version of the "Harman AIR" SDK. The "Default" entry, which I set manually, shows the expected version image

JoelProminic commented 1 year ago

I did some Build & Run tests with the Flex templates and the new SDK, and I didn't see any obvious problems.

Project Type macOS Test
Desktop Confirmed
Web Confirmed
Mobile Confirmed
JoelProminic commented 1 year ago

I did some Build & Run tests with the Flex templates and the new SDK, and I didn't see any obvious problems.

Project Type macOS Test
Desktop Confirmed
Web Confirmed
Mobile Confirmed

Note that the template -app.xml files currently specify 32.0. This still works for me:

<application xmlns="http://ns.adobe.com/air/application/32.0">

I updated them like this, and that also worked.

<application xmlns="http://ns.adobe.com/air/application/50.2">

Do we need to update the templates to the latest AIR version at some point? I want to make sure that the templates work for the general case without modifying these files.

rat-moonshine commented 1 year ago

The label should properly display now in SDK-list: image

Do we need to update the templates to the latest AIR version at some point? I want to make sure that the templates work for the general case without modifying these files.

No, we do not need that. The namespace version generates upon using SDK version. Unfortunately, I see I missed to update the requisite logic for this update. This has been fixed now. If you create a new project using the Harman AIR 50.2 the -app.xml will auto-generate with correct namespace:

<application xmlns="http://ns.adobe.com/air/application/50.2">

piotrzarzycki21 commented 1 year ago

I have just tested installation on: Windows 10 - no issues Mac OSX Ventura 13.2.1 - no issues

I have build large Air application on Windows with that update - no issues as well

JoelProminic commented 1 year ago

Thanks for testing. This should be ready to go. I'll plan to push this release out today.