Skip to content

Commit a201bfa

Browse files
backspace135claude
andcommitted
chore: bump bundled scrcpy to 4.1
`tools/verify-scrcpy-latest.ps1` asserts the pin equals the latest upstream release, so the Publish workflow started failing the moment scrcpy 4.1 shipped on 2026-07-12. Unrelated to anything else in this branch. Verified by running the packaged binary, not by trusting the pin: the rebuilt osx-arm64 bundle reports `scrcpy 4.1`. Worth knowing for the next bump: `Get-ScrcpyRoot` in build-update-zip.ps1 caches at artifacts/tools/scrcpy/<rid> and keys the cache on whether the executable exists, not on its version. A local rebuild after a version bump therefore keeps the old binary and silently produces a stale package — CI is unaffected because it always starts from a clean tree. Delete artifacts/tools/scrcpy to force it. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 5cb060a commit a201bfa

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

build/AndroidTreeView.Scrcpy.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!-- Shared bundled tools flow for AndroidTreeView.App and Mini variants.
44
scrcpy ships adb; fastboot is folded into the same folder when available. -->
55
<PropertyGroup>
6-
<ScrcpyVersion Condition="'$(ScrcpyVersion)' == ''">4.0</ScrcpyVersion>
6+
<ScrcpyVersion Condition="'$(ScrcpyVersion)' == ''">4.1</ScrcpyVersion>
77
<PlatformToolsVersion Condition="'$(PlatformToolsVersion)' == ''">37.0.0</PlatformToolsVersion>
88
<ScrcpyDir Condition="'$(ScrcpyDir)' == ''">$(MSBuildThisFileDirectory)../tools/scrcpy</ScrcpyDir>
99
<ScrcpyExecutableName Condition="'$(ScrcpyExecutableName)' == '' and '$(OS)' == 'Windows_NT'">scrcpy.exe</ScrcpyExecutableName>

docs/packaging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Supported release RIDs are `win-x64` and `osx-arm64`.
5454

5555
The script:
5656

57-
1. downloads the matching upstream scrcpy asset (`scrcpy-win64-v4.0.zip` or `scrcpy-macos-aarch64-v4.0.tar.gz`)
57+
1. downloads the matching upstream scrcpy asset (`scrcpy-win64-v4.1.zip` or `scrcpy-macos-aarch64-v4.1.tar.gz`)
5858
2. folds hash-verified Android SDK Platform-Tools 37.0.0 `fastboot` into the full App package
5959
3. for the full App only, downloads and verifies Magisk v30.7 and payload-dumper-go 1.3.0
6060
4. runs `dotnet publish`

packaging/build-update-zip.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ $ErrorActionPreference = 'Stop'
3535
$scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
3636
$repoRoot = Split-Path -Parent $scriptDir
3737
$artifacts = Join-Path $repoRoot 'artifacts'
38-
$scrcpyVersion = '4.0'
38+
$scrcpyVersion = '4.1'
3939
$platformToolsVersion = '37.0.0'
4040
$magiskVersion = '30.7'
4141
$magiskSha256 = 'e0d32d2123532860f97123d927b1bb86c4e08e6fd8a48bfc6b5bee0afae9ebd5'

tools/verify-scrcpy-latest.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
[CmdletBinding()]
1414
param(
1515
[string]$ScrcpyExe = '',
16-
[string]$ExpectedVersion = '4.0',
16+
[string]$ExpectedVersion = '4.1',
1717
[string]$LatestReleaseApi = 'https://api.github.com/repos/Genymobile/scrcpy/releases/latest'
1818
)
1919

0 commit comments

Comments
 (0)