Skip to content

Commit

Permalink
VisualStudioCode-Install@1.80.2: Fix hash (Closes #186)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 26, 2023
1 parent c2a1798 commit 7c6b87d
Showing 1 changed file with 60 additions and 60 deletions.
120 changes: 60 additions & 60 deletions bucket/VisualStudioCode-Install.json
Original file line number Diff line number Diff line change
@@ -1,64 +1,64 @@
{
"##": "Download url https://code.visualstudio.com/download#",
"version": "1.80.2",
"description": "Visual Studio Code. is a lightweight but powerful source code editor.",
"homepage": "https://code.visualstudio.com/",
"license": {
"identifier": "Freeware",
"url": "https://code.visualstudio.com/License/"
},
"changelog": "https://code.visualstudio.com/updates/v1_80",
"architecture": {
"64bit": {
"url": "https://code.visualstudio.com/sha/download?build=stable&os=win32-x64#/setup.exe",
"hash": "422ac1f2c5bd8ec3e40eee77a536d4f9cad3544eaefe52bf5151f25aac2f6eab"
"##": "Download url https://code.visualstudio.com/download#",
"version": "1.80.2",
"description": "Visual Studio Code. is a lightweight but powerful source code editor.",
"homepage": "https://code.visualstudio.com/",
"license": {
"identifier": "Freeware",
"url": "https://code.visualstudio.com/License/"
},
"32bit": {
"url": "https://code.visualstudio.com/sha/download?build=stable&os=win32#/setup.exe",
"hash": "beec623dcccfa779032768a439d2332912bdc0ffe9ac01947cc441f17905045e"
}
},
"pre_download": "Assert-Administrator",
"pre_install": [
"$processname = \"Code\"",
"$process = Get-Process $processname -ErrorAction SilentlyContinue",
"if ($process) {",
" $process.CloseMainWindow()",
" Start-Sleep -Seconds 5",
" if (!$process.HasExited) {",
" Start-Sleep -Seconds 25",
" $process | Stop-Process -Force",
" }",
"}"
],
"installer": {
"script": [
"$programname = \"Microsoft Visual Studio Code\"",
"$ProgramFiles = [Environment]::GetFolderPath(\"ProgramFiles\")",
"$filepath = \"$ProgramFiles\\Microsoft VS Code\\Code.exe\"",
"if(((Test-Path -Path $filepath -PathType Leaf) -eq $false) -or ((Get-Command $filepath).Version -lt [System.Version]\"$version\"))",
"{",
" &\"$dir\\setup.exe\" /VERYSILENT /MERGETASKS=!runcode,!desktopicon,!quicklaunchicon,addcontextmenufiles,addcontextmenufolders,associatewithfiles,addtopath | Out-Null",
" if(((Test-Path -Path $filepath -PathType Leaf) -eq $false) -or ((Get-Command $filepath).Version -lt [System.Version]\"$version\"))",
" {",
" exit 1",
" }",
"}",
"if (Test-Path -Path \"$dir\\setup.exe\") { Remove-Item \"$dir\\setup.exe\" -Force }"
]
},
"checkver": {
"github": "https://github.com/microsoft/vscode"
},
"autoupdate": {
"changelog": "https://code.visualstudio.com/updates/v$majorVersion_$minorVersion",
"changelog": "https://code.visualstudio.com/updates/v1_80",
"architecture": {
"64bit": {
"url": "https://code.visualstudio.com/sha/download?build=stable&os=win32-x64#/setup.exe"
},
"32bit": {
"url": "https://code.visualstudio.com/sha/download?build=stable&os=win32#/setup.exe"
}
"64bit": {
"url": "https://code.visualstudio.com/sha/download?build=stable&os=win32-x64#/setup.exe",
"hash": "99408c51d4d10232cb240b24a486814c9b50e96fdac6be600f1fe777cd49f4ca"
},
"32bit": {
"url": "https://code.visualstudio.com/sha/download?build=stable&os=win32#/setup.exe",
"hash": "36b5bd557c39baaa8121945477ec9566174c9a3e6dbc7716ba1f8ac6e98dbfc1"
}
},
"pre_download": "Assert-Administrator",
"pre_install": [
"$processname = \"Code\"",
"$process = Get-Process $processname -ErrorAction SilentlyContinue",
"if ($process) {",
" $process.CloseMainWindow()",
" Start-Sleep -Seconds 5",
" if (!$process.HasExited) {",
" Start-Sleep -Seconds 25",
" $process | Stop-Process -Force",
" }",
"}"
],
"installer": {
"script": [
"$programname = \"Microsoft Visual Studio Code\"",
"$ProgramFiles = [Environment]::GetFolderPath(\"ProgramFiles\")",
"$filepath = \"$ProgramFiles\\Microsoft VS Code\\Code.exe\"",
"if(((Test-Path -Path $filepath -PathType Leaf) -eq $false) -or ((Get-Command $filepath).Version -lt [System.Version]\"$version\"))",
"{",
" &\"$dir\\setup.exe\" /VERYSILENT /MERGETASKS=!runcode,!desktopicon,!quicklaunchicon,addcontextmenufiles,addcontextmenufolders,associatewithfiles,addtopath | Out-Null",
" if(((Test-Path -Path $filepath -PathType Leaf) -eq $false) -or ((Get-Command $filepath).Version -lt [System.Version]\"$version\"))",
" {",
" exit 1",
" }",
"}",
"if (Test-Path -Path \"$dir\\setup.exe\") { Remove-Item \"$dir\\setup.exe\" -Force }"
]
},
"checkver": {
"github": "https://github.com/microsoft/vscode"
},
"autoupdate": {
"changelog": "https://code.visualstudio.com/updates/v$majorVersion_$minorVersion",
"architecture": {
"64bit": {
"url": "https://code.visualstudio.com/sha/download?build=stable&os=win32-x64#/setup.exe"
},
"32bit": {
"url": "https://code.visualstudio.com/sha/download?build=stable&os=win32#/setup.exe"
}
}
}
}
}
}

0 comments on commit 7c6b87d

Please sign in to comment.