ScoopInstaller / Extras

📦 The Extras bucket for Scoop.
https://scoop.sh
The Unlicense
1.8k stars 1.38k forks source link

vscode@1.83.1: 32-bit support end - autoupdate fails #12147

Closed ha308ing closed 1 year ago

ha308ing commented 1 year ago

Since version 1.84.0 vscode doesn't support 32-bit version and autoupdate has stopped working.

https://code.visualstudio.com/updates/v1_84#_windows-32bit-support-ends

Log:

PS C:\scoop\buckets\extras> .\bin\checkver.ps1 vscode
vscode: 1.84.0 (scoop version is 1.83.1) autoupdate available
PS C:\scoop\buckets\extras> .\bin\checkver.ps1 vscode -f
vscode: 1.84.0 (scoop version is 1.83.1) autoupdate available
Forcing autoupdate!
Autoupdating vscode
DEBUG[1698904388] [$updatedProperties] = [url hash] -> C:\scoop\apps\scoop\current\lib\autoupdate.ps1:442:5
DEBUG[1698904388] $substitutions (hashtable) -> C:\scoop\apps\scoop\current\lib\autoupdate.ps1:180:5
DEBUG[1698904388] $substitutions.$underscoreVersion             1_84_0
DEBUG[1698904388] $substitutions.$preReleaseVersion             1.84.0
DEBUG[1698904388] $substitutions.$basename                      dl.7z
DEBUG[1698904388] $substitutions.$basenameNoExt                 dl
DEBUG[1698904388] $substitutions.$minorVersion                  84
DEBUG[1698904388] $substitutions.$dashVersion                   1-84-0
DEBUG[1698904388] $substitutions.$urlNoExt                      https://update.code.visualstudio.com/1.84
DEBUG[1698904388] $substitutions.$dotVersion                    1.84.0
DEBUG[1698904388] $substitutions.$cleanVersion                  1840
DEBUG[1698904388] $substitutions.$patchVersion                  0
DEBUG[1698904388] $substitutions.$url                           https://update.code.visualstudio.com/1.84.0/win32-archive/stable
DEBUG[1698904388] $substitutions.$matchTail
DEBUG[1698904388] $substitutions.$version                       1.84.0
DEBUG[1698904388] $substitutions.$baseurl                       https://update.code.visualstudio.com/1.84.0/win32-archive
DEBUG[1698904388] $substitutions.$majorVersion                  1
DEBUG[1698904388] $substitutions.$matchHead                     1.84.0
DEBUG[1698904388] $substitutions.$buildVersion
DEBUG[1698904388] $hashfile_url = https://code.visualstudio.com/sha?build=stable -> C:\scoop\apps\scoop\current\lib\autoupdate.ps1:183:5
Searching hash for dl.7z in https://code.visualstudio.com/sha?build=stable
Could not find hash in https://code.visualstudio.com/sha?build=stable
Downloading dl.7z to compute hashes!
The remote server returned an error: (404) Not Found.
URL https://update.code.visualstudio.com/1.84.0/win32-archive/stable#/dl.7z is not valid
ERROR Could not update vscode, hash for dl.7z failed!
AchimGaedkeLynker commented 1 year ago

Will also be solved with: https://github.com/ScoopInstaller/Extras/pull/12154