Unfortunately you can’t just „unzip“ dmgs ... DMG is an archive format from 
hell ;-)

As Adobe didn’t provide the Flashplayer Debugger in any other format than DMG 
for Mac I wated to use an exsiting DMG decompression libary. Unfortunately they 
are ALL GPL licenced and hereby disqualified for us.
So I started reading through the specs of the DMG format and started 
implementing a DMG extractor form scratch. I got quite far. See the 
„feature/flash-downloader“ branch of the flex-sdk-converter in the flex-utils 
repo. Unfortunately I would now have to implement decoding the B-Tree of a Mac 
file-system. I had to stop working on that quite some time ago and sort of 
never picked up the ball again. But that wouldn’t help in the Flex installer as 
the best we could get would be a jar that can’t be run in the Installer. 

Another thing is that the archives for Windows don’t contain the stuff needed 
for Mac (I had to investigate this when working on the AIR converter)

Chris


Am 03.11.16, 22:11 schrieb "omup...@gmail.com im Auftrag von OmPrakash 
Muppirala" <omup...@gmail.com im Auftrag von bigosma...@gmail.com>:

    Even in the case of the .dmg, I think we should just unzip it and extract
    the AIR SDK.  I don't think we want to launch it.
    
    On Thu, Nov 3, 2016 at 1:28 PM, Alex Harui <aha...@adobe.com> wrote:
    
    > OK, my sources say that ZIP format will be around for a while.  But don't
    > we have to switch to using DMG for Mac?  I don't know if the ZIP has Mac
    > versions of ADL and ADT in it.  And if we do just end up launching the
    > DMG, we might want to create a path for launching an EXE in case there is
    > an issue some day.
    >
    > Thoughts?
    > -Alex
    >
    > On 11/3/16, 11:53 AM, "Alex Harui" <aha...@adobe.com> wrote:
    >
    > >I thought there were symlinks for Mac.  Maybe it doesn't matter for what
    > >we use it for.
    > >
    > >Sent from my LG G3, an AT&T 4G LTE smartphone
    > >
    > >------ Original message------
    > >From: OmPrakash Muppirala
    > >Date: Thu, Nov 3, 2016 11:31 AM
    > >To: dev@flex.apache.org;
    > >Subject:Re: Installer.xml changes needed (was Re: New Flex SDK release)
    > >
    > >Interestingly, I was able to simply unzip the .dmg file and inspect its
    > >contents.  It simply has a folder called AIR SDK:
    > >https://snag.gy/i8gNmu.jpg
    > >
    > >Also of interest is the fact that I have been using only the .zip files 
in
    > >the NPM FlexJS installer.  That seems to work fine with Macs as well.
    > >
    > >I think any tweaks we may have to do should be relatively minor.
    > >
    > >
    > >
    > >On Thu, Nov 3, 2016 at 11:16 AM, Josh Tynjala <joshtynj...@gmail.com>
    > >wrote:
    > >
    > >> I also see a ZIP for the Windows SDKs on that page. The only EXE that I
    > >>see
    > >> is for the Windows AIR runtime, which isn't what the installer
    > >>downloads.
    > >>
    > >> - Josh
    > >>
    > >> On Thu, Nov 3, 2016 at 11:13 AM, OmPrakash Muppirala
    > >><bigosma...@gmail.com
    > >> >
    > >> wrote:
    > >>
    > >> > Hmm, I see a dmg for mac and a zip for windows (in the Flex 
Developers
    > >> > section)
    > >> > Was there any announcement about this change?
    > >> >
    > >> > On Thu, Nov 3, 2016 at 11:11 AM, Alex Harui <aha...@adobe.com> wrote:
    > >> >
    > >> > > I see links for dmg and exe from here http://labs.adobe.com/
    > >> > > downloads/air.html
    > >> > >
    > >> > > I believe the zip and tar will go away or may not be the latest.
    > >> > >
    > >> > > Sent from my LG G3, an AT&T 4G LTE smartphone
    > >> > >
    > >> > > ------ Original message------
    > >> > > *From: *OmPrakash Muppirala
    > >> > > *Date: *Thu, Nov 3, 2016 10:10 AM
    > >> > > *To: *dev@flex.apache.org;
    > >> > > *Subject:*Re: Installer.xml changes needed (was Re: New Flex SDK
    > >> release)
    > >> > >
    > >> > > I still see the zip file available here
    > >> > >
    > >> > > https://fpdownload.macromedia.com/pub/labs/flashruntimes/
    > >> > > air/AdobeAIRSDK.zip
    > >> > >
    > >> > > On Nov 3, 2016 9:54 AM, "Alex Harui" <aha...@adobe.com> wrote:
    > >> > >
    > >> > > >
    > >> > > >
    > >> > > > On 11/3/16, 9:35 AM, "omup...@gmail.com on behalf of OmPrakash
    > >> > > Muppirala"
    > >> > > > <omup...@gmail.com on behalf of bigosma...@gmail.com> wrote:
    > >> > > >
    > >> > > > >I can take this work up.  Depending on how much work this would
    > >>take
    > >> > and
    > >> > > > >amy available bandwidth, this could take a while.
    > >> > > > >
    > >> > > > >Do you know what exactly needs to be done here?
    > >> > > >
    > >> > > > Don't know for sure.  My guess would be to adjust the scripts to
    > >> launch
    > >> > > > the EXE or DMG instead of unpacking ZIP and TBZ.  Then we'll see
    > >>how
    > >> > > rough
    > >> > > > a user experience that is.  Maybe that will be acceptable.
    > >> > > >
    > >> > > > -Alex
    > >> > > >
    > >> > > >
    > >> > >
    > >> >
    > >>
    >
    >
    

Reply via email to