Romain Vimont
221a7d0826
Clean up the server from temporary folder
...
The server is copied to /data/local/tmp/scrcpy-server.jar and executed
on the device.
As soon as we are connected, we can unlink (rm) it from /data/local/tmp,
to keep the device clean.
8 years ago
Romain Vimont
08d32e3bae
Clean up useless const-casts
...
The function adb_execute() now expects a "const char *const *" parameter
for the adb command, so there is no need to cast.
8 years ago
Romain Vimont
3ed80a1fac
Define macros wrappers for logs
...
Use macros to wrap SDL_Log* functions with the "application" category.
8 years ago
Romain Vimont
6fe65d9f5c
Log with category APPLICATION
...
All our logs should use APPLICATION category. The logs for other
categories are not printed by default under the "critical" level.
8 years ago
Romain Vimont
28c5cc030b
Move server-related code to server.c
...
The file server.c already existed, but exposed a low-level API. Make it
higher-level, so that scrcpy.c does not handle server details directly.
8 years ago
Romain Vimont
628f88ab89
Use ADB environment variable
...
Use the ADB environment variable to provide a custom adb path.
8 years ago
Romain Vimont
54d9148a36
Initial commit
...
Start a new clean history from here.
8 years ago