Overriding an App's JSON File in the App Binary
While running the app binary, you can override the app binary's embedded JSON file with another JSON file by using the
-app option. This saves you the time and effort of creating a new app binary if you only want to make minor configuration or mapping changes in the app.
To do this, run the following command:
- On Windows:
<app-filename>-windows_amd64 -app <new JSON file.json> - On Macintosh:
<app-filename>-darwin_amd64 -app <new JSON file.json> - On Linux:
<app-filename>-linux_amd64 -app <new JSON file.json>
Note: You can make changes in your activities, export the
app.json again, and run it with the same binary using the
-app option. For example, you can make changes in an existing activity. However, if you add a new activity (of the same category or a different category) and try to run it from the app binary, it does not work.