Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
We have a special device which provides its own programming interface for silent app installation.

How can we add custom code to Headwind MDM launcher? We would like to get our custom code synced with Headwind MDM repository to have it up to date.
by (5k points)

2 Answers

0 votes

You need to create your own repository and copy the existing code.

git clone https://github.com/h-mdm/hmdm-android

git remote rename origin headwind

git remote add origin https://github.com/my-account/hmdm-android.git

git push -u origin

After applying these commands, you can do your own changes in the code and push it in your repository.

git commit -m "My changes"

git push

To get the latest updates from Headwind MDM repository, use the command:

git merge headwind/master

Since you renamed the old origin to "headwind", you will get the latest updates from our repository and your code will be up-to-date.

Note: you will get conflicts in build.gradle because your versioning will most likely be different from ours. We do not recommend to ignore our changes in build.gradle; it is better to manually resolve a conflict after merging.

by (5k points)
0 votes
If you're using gitlab.com to store your project, you can simply "fork" the source project:

https://docs.gitlab.com/ee/user/project/repository/forking_workflow.html
by (5k points)
...