Display and control your Android device
Pass --buildtype=release as a single meson arg
Romain Vimontc00a31f1b063
diff --git a/BUILD.md b/BUILD.mdindex 1e713b93..f683be95 100644--- a/BUILD.md+++ b/BUILD.md@@ -258,7 +258,7 @@ set ANDROID_SDK_ROOT=%LOCALAPPDATA%\Android\sdkThen, build:```bash-meson x --buildtype release --strip -Db_lto=true+meson x --buildtype=release --strip -Db_lto=trueninja -Cx # DO NOT RUN AS ROOT```@@ -279,7 +279,7 @@ Download the prebuilt server somewhere, and specify its path during the Mesonconfiguration:```bash-meson x --buildtype release --strip -Db_lto=true \+meson x --buildtype=release --strip -Db_lto=true \-Dprebuilt_server=/path/to/scrcpy-serverninja -Cx # DO NOT RUN AS ROOT```diff --git a/install_release.sh b/install_release.shindex 69dfefdc..6dd71d25 100755--- a/install_release.sh+++ b/install_release.sh@@ -12,7 +12,7 @@ echo "$PREBUILT_SERVER_SHA256 scrcpy-server" | sha256sum --checkecho "[scrcpy] Building client..."rm -rf "$BUILDDIR"-meson "$BUILDDIR" --buildtype release --strip -Db_lto=true \+meson "$BUILDDIR" --buildtype=release --strip -Db_lto=true \-Dprebuilt_server=scrcpy-servercd "$BUILDDIR"ninja