megaease/easeagent

Root config path by default

observeralone opened this issue · 0 comments

Background

By default, the obtained configuration file path is xxx/agent.jar!/lib/build.xx.xx.xx.jar!/agent.properties, which is ok under normal circumstances.
However, when I want to package the modified agent.properties in agent.jar and spread them together, I need to decompress build.xx.xx.xx.jar first, and then override the configuration in build.xx.xx.xx.jar with agent.properties, and finally overwrite build.xx.xx.xx.jar into agent.jar.
This is a complicated process and is not conducive to agent.jar propagation.

Demand

Support to directly read the path of xxx/agent.jar!/agent.properties