Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scrcpy.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>scrcpy</id>
<!-- Package Fix Version Notation: 1.1.0.YYYYMMDD -->
<version>2.7</version>
<version>3.1</version>
<packageSourceUrl>https://github.com/n3rd4i/scrcpy.git</packageSourceUrl>
<owners>n3rd4i</owners>
<!-- ============================== -->
Expand Down
4 changes: 2 additions & 2 deletions tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
. "$(Join-Path $toolsDir commonEnv.ps1)"

$url = 'https://github.com/Genymobile/scrcpy/releases/download/v2.7/scrcpy-win64-v2.7.zip'
$url = 'https://github.com/Genymobile/scrcpy/releases/download/v3.1/scrcpy-win64-v3.1.zip'
$folderName = $(Split-Path $url -leaf).replace('.zip', '')

# 1. Download bundle
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileFullPath = "$(Join-Path $ENV:TEMP 'scrcpy.zip')"
url = $url
checksum = '5910BC18D5A16F42D84185DDC7E16A4CEE6A6F5F33451559C1A1D6D0099BD5F5'
checksum = '0C05EA395D95CFE36BEE974EEB435A3DB87EA5594FF738370D5DC3068A9538CA'
checksumType = 'sha256'
}
$archivePath = Get-ChocolateyWebFile @packageArgs
Expand Down