Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add optional versioned server file checker
If users have downloaded prebuilt server file, they may forget to update the server file simply because they are all named "scrcpy-server". It is already known to cause issues when server and client versions mismatch. Let it check for "scrcpy-server-v<VERSION>" first (just as how it is named in Github release page), then fall back to "scrcpy-server". This mechanism is fully optional: users may still use the old unversioned name "scrcpy-server"; or they can directly download server file from release page without renaming it, and they will be notified to update their server file because client cannot find either files (with the correct version).
- Loading branch information