mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-12-17 21:44:20 +01:00
Rename scrcpy-server.jar to scrcpy-server
The server name ending with .jar has several drawbacks:
- meson requires the jar executable to attempt to modify it:
<https://github.com/Genymobile/scrcpy/issues/404#issuecomment-456065923>
<https://github.com/mesonbuild/meson/issues/4844>
- meson warns during "ninja install"
<https://github.com/Genymobile/scrcpy/issues/458>
- some users try to execute it on the computer as a java executable
Removing the extension solves all these problems.
This commit is contained in:
@@ -7,7 +7,7 @@ import java.io.IOException;
|
||||
|
||||
public final class Server {
|
||||
|
||||
private static final String SERVER_PATH = "/data/local/tmp/scrcpy-server.jar";
|
||||
private static final String SERVER_PATH = "/data/local/tmp/scrcpy-server";
|
||||
|
||||
private Server() {
|
||||
// not instantiable
|
||||
|
||||
Reference in New Issue
Block a user