mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-20 11:35:57 +00:00
get latest scrcpy-server automatically
This commit is contained in:
parent
f02bb23e6f
commit
fbf515e0ad
1 changed files with 2 additions and 1 deletions
3
.github/scripts/setup_scrcpy.sh
vendored
3
.github/scripts/setup_scrcpy.sh
vendored
|
@ -10,7 +10,8 @@ sudo rm -rf scrcpy
|
|||
git clone https://github.com/Genymobile/scrcpy
|
||||
cd scrcpy
|
||||
|
||||
wget https://github.com/Genymobile/scrcpy/releases/download/v1.23/scrcpy-server-v1.23 \
|
||||
latest_tag=$(git describe --tags --abbrev=0)
|
||||
wget https://github.com/Genymobile/scrcpy/releases/download/$latest_tag/scrcpy-server-$latest_tag \
|
||||
-O scrcpy-server
|
||||
|
||||
meson x --buildtype=release --strip -Db_lto=true \
|
||||
|
|
Loading…
Add table
Reference in a new issue