apm icon indicating copy to clipboard operation
apm copied to clipboard

Install an airsdk without AIR on macOS and linux

Open j3k0 opened this issue 3 years ago • 5 comments

Implements the functionality with bash.

Depends on python, curl and unzip (which are present by default on macOS, AFAIK).


Note: I realize this only supports macOS at the moment, as the download URL used here is the one for macOS. The correct link can be figured out by checking the OS with uname.

Note 2: Maybe setting license=accepted is a little borderline? What could be done? I'm thinking an environment variable AIRSDK_ACCEPT_LICENSE=yes (DONE)

j3k0 avatar Oct 01 '21 09:10 j3k0

Interesting idea!

The reason we haven't been down this path is that we are hoping to eventually use a captive runtime app for APM which would negate this need. However this approach could be a decent intermediate one if you could find an equivalent approach for windows?

marchbold avatar Oct 04 '21 04:10 marchbold

...equivalent approach for windows?

Not having used a windows computer since 1998, I have very little idea how you would do this.

Maybe from the batch script (apm.bat) or by building a native launcher tool apm.exe (.NET? Java? Whichever windows computer might have by default). The tool will forward all calls to the swf cli, except the SDK download features, implemented natively.

j3k0 avatar Oct 04 '21 06:10 j3k0

So can this be merged before a windows implementation is available? I'm using the feature so I can rely on apm to install the AIR SDK on our CI pipeline. If it can't be merged in, I'll move this code to an external tool.

j3k0 avatar Oct 07 '21 08:10 j3k0

I suggest moving this to an external tool currently, as we are still in discussions with Harman around an sdk manager and the direction of the airsdk commands. We may be moving them to a separate tool.

marchbold avatar Oct 07 '21 10:10 marchbold

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

github-actions[bot] avatar Dec 13 '22 02:12 github-actions[bot]