Skip to content

Instantly share code, notes, and snippets.

@keithnorm
Created April 11, 2010 23:42
Show Gist options
  • Save keithnorm/363141 to your computer and use it in GitHub Desktop.
Save keithnorm/363141 to your computer and use it in GitHub Desktop.
# referenced from http://www.adobe.com/devnet/air/articles/signing_air_applications_print.html
# you can add adt to your path or give the full path in the command
# adt will be in the air sdk director
# first, generate a certificate to use for signing the app
adt -certificate -cn AnythingHere 1024-RSA test_cert.pfx password
#then from app directory
adt -package -storetype pkcs12 -keystore /path/to/cert/test_cert.pfx -storepass <password> <app_name>.air application.xml *
# the -storetype command is the type of certificate, then the options are filename_to_create.air path to application.xml (the air app config file) and a list of files to include in the air package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment