This application provides display and control of Android devices connected on USB (or over TCP/IP). It does not require any root access. It works on GNU/Linux, Windows and MacOS.
scrcpy-console.desktop is still not working in the latest version (scrcpy-2.0)
I thinks it’s because of when you insert 2 backslashes in sed expression (when with no sed args), the first backslash will be escaped, so you may should insert 4 backslashes. Patches are always easier to read, change and manage than sed commands in rpm specfile, so I suggest you to apply patches instead of using sed commands.
ps1. You are missing validate scrcpy-console.desktop.
ps2. I want to create a pull request to the scrcpy.spec but I can’t find a way.
Thanks for reply, I tried the upstream fixed scrcpy-console.desktop, but it seems broken to me as well. Since there are too many quotes and backslashes I can’t even figure out where is wrong.
So I create a pull request to suggest a simply one to upstream.