[BUG] Winget Detection does not work, however it is still listed in fastfetch -h packages-format
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- c
- 領域
- cli, operating-systems
調査の方向性
まず、winget のパッケージ検出のエントリーポイントを特定し、パッケージ一覧の取得方法を調べます。調査対象として、issue に記載されている 3 つの Windows アンインストールレジストリパスを使用します。遅く信頼性の低い list コマンドに依存せず、winget パッケージを確実に検出できれば完了です。
索引モデルが 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.8k
- フォーク
- 908
- 平均マージ
- 14時間 57分
- マージ済み PR(30日)
- 19
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fastfetch-cli/fastfetch のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
fastfetch-cli/fastfetch#2628 ·
メンテナーはふだん 1 日以内に返信
-
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 日以内に返信
fastfetch-cli/fastfetch の issue をすべて見る
似ている issue
-
hfile_s3: reading to EOF fails with EINVAL when object size is a multiple of the read part sizeオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 3 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Ryan-Millard/Img2Num#652 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
メンテナーはふだん 1 日以内に返信
-
Status: Opened
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信