rustdesk/rustdesk-server-pro ? reverse-engineered prompt
Reverse engineered prompt
Build me a small set of shell scripts for RustDesk Server Pro that make it easy to install, update, convert from another setup, and uninstall the server on a Linux machine.
I want the scripts to feel polished and consistent, with shared helper code reused instead of repeating the same logic everywhere. They should handle the common setup steps, show clear messages to the user, and be safe to run more than once without causing a mess. Please keep the style clean and readable, with consistent indentation and simple function based structure.
If you need current install details or recommended commands, look them up online before writing the scripts. Also include basic notes for what each script does, and make sure the whole thing is easy for someone to maintain later.
Are you gonna build this?
make sure you review the code using coderabbit