diff --git a/bucket/github.json b/bucket/github.json index a33389e63e7c8b..a580400530121e 100644 --- a/bucket/github.json +++ b/bucket/github.json @@ -5,16 +5,11 @@ "license": "MIT", "architecture": { "64bit": { - "url": "https://central.github.com/deployments/desktop/desktop/latest/win32#/dl.7z_", - "hash": "c15bbdcc4b781c264d82d57a26d54ab5a3958259cebe0766758794389f3cac0d" + "url": "https://github.com/desktop/desktop/releases/download/release-3.4.15/GitHubDesktop-3.4.15-x64-full.nupkg", + "hash": "ad135720b46ee594ef89b51342c4a51cc8d200a5f424753836b9a49e4456b586" } }, - "pre_install": [ - "Expand-7zipArchive \"$dir\\$fname\" \"$dir\\extract\"", - "Get-Item \"$dir\\extract\\GitHubDesktop*.nupkg\" | Rename-Item -NewName 'github.nupkg'", - "Expand-7zipArchive \"$dir\\extract\\github.nupkg\" \"$dir\" -ExtractDir 'lib\\net45'", - "Remove-Item \"$dir\\extract\", \"$dir\\$fname\" -Force -Recurse" - ], + "extract_dir": "lib\\net45", "bin": "GitHubDesktop.exe", "shortcuts": [ [ @@ -29,8 +24,11 @@ "autoupdate": { "architecture": { "64bit": { - "url": "https://central.github.com/deployments/desktop/desktop/latest/win32#/dl.7z_" + "url": "https://github.com/desktop/desktop/releases/download/release-$version/GitHubDesktop-$version-x64-full.nupkg" } + }, + "hash": { + "url": "$baseurl/GitHub.Desktop-$version-checksums.txt" } } }