How to Use a Forked Repository as the Build Source for RustDesk #85
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have forked the official repository: https://github.com/rustdesk/rustdesk. Now, I want to use the code from my forked repository as the source during the build process, instead of using the official repository's code. I have reviewed the project's source code but couldn't find where to specify the source repository. Could you please guide me on how to switch to using my forked repository as the code source?
Additionally, I encountered another issue: I am using a self-hosted rdgen, and while the GitHub Actions workflow shows a successful build, clicking on the details reveals the following message:
build rustdesk android apk aarch64-linux-android
{"message":"Invalid URL","data":"{"uuid": "0c13bd38-44ce-4307-9bb2-b050c1bd4777", "status": "Success"}"}
Could you advise where I need to make replacements or configurations to resolve this issue? I hope you can help me. Thank you!
You will need to edit the github workflow files (bridge.yml and generator-*.yml files), where it checks out the source code. Just look for any code that looks like this:
I followed your method and solved all the issues. GENURL needs to include http:// or https:// and cannot just be the domain name. Thank you so much!
Does the Docker image for rdgen support using specific branches? If so, how can I configure it?
The docker image does not support using specific forks. It will always use rustdesk. What type of changes are you guys making to the source code?
For those who don't have a domain and just want to host it locally to generate the client, how can the GENURL be defined?
For example, this one to make it work with single endpoint WebSocket and IP address (currently single endpoint can be used only with domain name).
https://github.com/lejianwen/rustdesk-api/issues/454#issuecomment-3497242157
UPD: seems that quite small changes can be made after cloning original repo with the help of patches: https://github.com/bryangerlach/rdgen/tree/master/.github/patches. Will try this.