Skip to content

Commit

Permalink
github: Switch to GH release artifacts, add hash autoupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
aliesbelik committed Jan 21, 2025
1 parent 8524b37 commit 6f31700
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions bucket/github.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
[
Expand All @@ -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"
}
}
}

0 comments on commit 6f31700

Please sign in to comment.