Skip to content

[Bug]: Changes in the vscode directory caused the reg file to become invalid #17186

@abgox

Description

@abgox

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

vscode

Expected/Current Behaviour

  • Refer to [Bug]: install-associations.reg DefaultIcon 文件地址错误 abgox/abyss#111
  • Starting from version 1.109, VSCode has changed its directory structure. Taking file icons as an example:
    • Before: $code_dir\resources\app\resources\win32\html.ico
    • After: $code_dir\$resources_id\resources\app\resources\win32\html.ico
    • $resources_id seems to be a commit id.
  • It causes the reg files that depend on it to become invalid.
  • However, I don't know if this is a stable directory structure change, so I only fixed it in my abyss bucket and didn't submit a PR in Extras.
  • Maybe we can discuss it or verify if it's a stable change.

img

Steps to Reproduce

.

Possible Solution

abgox/abyss@51f79cc

Scoop and Buckets Version

PS> scoop --version

Current Scoop version:
bd2e93df (HEAD -> develop, origin/develop) fix(autoupdate): Ensure GitHub API requests use token (#6535)

'main' bucket:
068134ac22 (HEAD -> master, origin/master, origin/HEAD) worktrunk: Update to version 0.23.2

'abyss' bucket:
51f79ccf5 (HEAD, origin/main, origin/HEAD, main) Microsoft.VisualStudioCode.*: fix reg (Closes #111)

Scoop Config

PS> scoop config

abgox-abyss-app-shortcuts-action : 2
abgox-abyss-bucket-name          : abyss
aria2-enabled                    : False
aria2-max-connection-per-server  : 5
aria2-min-split-size             : 5M
aria2-retry-wait                 : 3
aria2-split                      : 5
aria2-warning-enabled            : False
ignore_running_processes         : True
last_update                      : 2026/2/11 20:48:13
scoop_branch                     : develop
scoop_repo                       : https://gitee.com/scoop-installer-mirrors/Scoop
show_update_log                  : True
use_isolated_path                : False
use_sqlite_cache                 : True
root_path                        : D:\@scoop
global_path                      : D:\@scoop-global

PowerShell Version

PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.5.4
PSEdition                      Core
GitCommitId                    7.5.4
OS                             Microsoft Windows 10.0.26200
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Additional Softwares

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions