Windows - kachick/dotfiles GitHub Wiki

Detected my tool as malware by Microsoft Defender, and I think it is a false positive alert.

First, check it with https://www.virustotal.com/gui/home/upload.
The CLI is https://github.com/VirusTotal/vt-cli

And you still think it is a false-positive detection, report it in https://www.microsoft.com/en-us/wdsi/filesubmission.
You can track the result in https://www.microsoft.com/en-us/wdsi/submissionhistory.

Checking with actual Microsoft Defender in GitHub Action is a hard task. See GH-442, GH-443, GH-851 for detail.

WinGet

How to avoid winget for several packages?

I often intentionally avoid to use winget for some packages.

For example Cloudflare.Warp.

However just uninstalling from winget-cli does not completely avoid it, it still appears in winget update even if installed without winget

> winget update --all
名前            ID              バージョン 利用可能     ソース
--------------------------------------------------------------
Cloudflare WARP Cloudflare.Warp 25.1.861.0 2025.1.861.0 winget
1 アップグレードを利用できます。

If then, I should avoid for each package with pin subcommand

> winget pin add Cloudflare.Warp
> winget update --all
入力条件に一致するインストール済みのパッケージが見つかりませんでした。
1 個のパッケージには、アップグレードを止めるピンがあります。'winget pin' コマンドを使用してピンを表示および編集します。--include-pinned 引数を使用すると、より多くの結果が表示される場合があります。
11 個のパッケージのバージョン番号を判別できません。すべての結果を表示するには、--include-unknown を使用してください。

How to export winget list?

winget export --include-versions --output "\\wsl.localhost\Ubuntu-24.04\home\kachick\repos\github.com\kachick\dotfiles\windows\winget\winget-pkgs-$(Get-Date -UFormat '%F')-raw.json"

It may be better to remove some packages, this list may include other packages out of winget-pkgs.

Which programs excluded winget-pkgs are needed?