-
Notifications
You must be signed in to change notification settings - Fork 42
2. Compiling
whiteblXK edited this page Feb 25, 2022
·
16 revisions
-
You need self signed certificate(if you already have it then skip this step), open command terminal(as administrator) and go to
C:\MoonshineSDKs\Flex_SDK\Flex_4.16.1_AIR_32.0\bin
- This command will generate certificate adt -certificate -cn YOUR_NAME 2048-RSA object_builder.p12 YOUR_PASSWORD
- Example command adt -certificate -cn whiteblXK 2048-RSA object_builder.p12 123456789!
- For more info go here: Adobe AIR ADT
- Copy newly created object_builder.p12 file into source folder
-
Open source folder in Visual Studio Code and open asconfig.json file, then set SDK
- Click Add more SDKS to this list, find main Apache Flex folder and select it.
-
Go to Terminal, and Configure Default Build Task
- Select Adobe Air: package Windows release (captive runtime)
-
It's time to build project.
- Go to Terminal and Run Task or Run Build Task
- It will open terminal at the bottom of VS Code
- And ask for password, password is always hidded
- Compiled
- You can find ObjectBuilder.exe in source/bin folder
-
Done :)