[BUG] Winget Detection does not work, however it is still listed in fastfetch -h packages-format
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- c
- 领域
- cli, operating-systems
调研方向
首先定位 winget 软件包检测的入口点,并检查软件包列表的获取方式。将 issue 中描述的三个 Windows 卸载注册表路径作为调查目标;完成的标准是能够可靠地检测 winget 软件包,而不依赖缓慢且不可靠的 list 命令。
由索引模型根据 Issue 内容生成。
描述
Read the FAQ first
- I have checked the FAQ but the issue is not covered
Description
Winget Detection does not work. this is likely due to winget being overall a very slow package manager.
winget's list command is super slow and outputs unreliable results, you cannot rely on that.
in my fetch, i found a solution, winget looks in these registry keys for its packages:
"HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall*",
"HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall*",
"HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall*"
these registry keys seem to be overall more reliable than winget's list command.
note: this includes apps NOT installed through winget directly, however theyre technically installed through winget if they are there
note2: while they are not always gotten through winget directly, winget's list command also shows them, and also sometimes has weird formatting.
Version used
fastfetch 2.65.2 (x86_64)
Bug prevalence
Always
Regression
Not sure
Installation
Package manager
Package manager
winget
Screenshots
No response
Configuration
System information
not relevant, winget is not in all.jsonc
Features built-in
threads
vulkan
imagemagick7
chafa
zlib
opencl
libzfs
Embedded wcwidth
WinRT headers
Windows 8.1 Compatibility
Lua 5.5
QuickJS 0.15.1
- 主要语言
- C
- 星标
- 24.7k
- 派生
- 895
- 平均合并
- 22 小时 43 分钟
- 30 天内合并 PR
- 20
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
fastfetch-cli/fastfetch 的其他 Issue
-
logo request
难度 1/5 1 小时以内 新手友好度 90/100
fastfetch-cli/fastfetch#2607 ·
维护者通常 1 天内回复
-
logo request
难度 2/5 1-3 小时 新手友好度 72/100
fastfetch-cli/fastfetch#2590 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 74/100
fastfetch-cli/fastfetch#2587 · 1 条评论 ·
维护者通常 1 天内回复
-
logo request
难度 2/5 1-3 小时 新手友好度 68/100
fastfetch-cli/fastfetch#2568 ·
维护者通常 1 天内回复
-
[LOGO] EnderOS未关闭logo request
难度 2/5 1-3 小时 新手友好度 72/100
fastfetch-cli/fastfetch#2556 ·
维护者通常 1 天内回复
查看 fastfetch-cli/fastfetch 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 92/100
sandialabs/seacas#945 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
ARM-software/sysarch-acs#556 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug needs triage
难度 2/5 1-3 小时 新手友好度 78/100
netdata/netdata#24062 · 1 条评论 ·
维护者通常 1 天内回复