If you're using adt -package
from the command line, you would package the same way as you would for Android, but using -target bundle
instead of -target aab
or -target apk-captive-runtime
. On Windows this generates the project as a folder, which contains an exe as well as anything else you packaged with it. You can also add -arch x64
after the -target if you want a 64-bit exe instead of a 32-bit one.
https://help.adobe.com/en_US/air/build/WSfffb011ac560372f709e16db131e43659b9-8000.html
You would have to add your own logic to the project to decide how you want to handle window sizes or going full-screen, and you can adjust some of the initialWindow options in the application descriptor xml if you want the window to be resizable, minimizable, etc.