Clean handling of ANDROID_PLATFORM containing decimal, like 36.1 by metayan · Pull Request #6408 · Genymobile/scrcpy (original) (raw)

Removes the following error: ./server/build_without_gradle.sh: line 89: [[: 36.1: syntax error: invalid arithmetic operator (error token is ".1")

pushed a commit that referenced this pull request

Oct 19, 2025

@rom1v

ANDROID_PLATFORM is not always an integer; it can also be a value like "36.1". Handle such cases properly.

This fixes the following error:

server/build_without_gradle.sh: line 89:
[[: 36.1: syntax error: invalid arithmetic operator (error token is ".1")

PR #6408 <#6408>

Signed-off-by: Romain Vimont rom@rom1v.com

zacfukyou

Linux4 added a commit to Linux4/scrcpy that referenced this pull request

Feb 10, 2026

@Linux4

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})