# SysDiag Version 1 License Bundle

Ship this folder with every SysDiag Version 1 build.

This folder is the release notice bundle for third-party software used by the
WinUI 3 preview/concept app. It is separate from `..\LICENSE.txt`, which covers
Rayen Leys' first-party SysDiag code, branding, UI, and original assets.

## Current Result

The current dependency set is usable for a free-to-download, closed-source
Version 1 concept build when these notices and license files are shipped with
the app.

Important rules:

- No resolved NuGet package declares GPL, AGPL, SSPL, or a non-commercial
  license as its package license in the package metadata.
- MPL-2.0 packages are file-level copyleft. They do not force SysDiag itself to
  become open source, but modified MPL-covered library files must be made
  available under MPL-2.0.
- LibreHardwareMonitor's own third-party notice includes LGPL-2.1 text for
  upstream code. Keep the LibreHardwareMonitor notice and source links with the
  app, and do not modify or statically merge that code without a separate legal
  review.
- Mono.Posix.NETStandard's license notice mentions GPL build-time files and
  GPL-with-classpath-exception class-library code from upstream Mono. Keep that
  notice intact.
- Microsoft, MIT, Apache-2.0, and BSD-style components require their license
  and notice text to remain with the distributed app.

This is a project compliance record, not legal advice.

## Add Another Library Later

Before shipping after adding a package:

1. Run `dotnet list TEMP\WinUI3Preview\SysDiagWinUI3Preview.csproj package --include-transitive`.
2. Check the package license in NuGet and in the package repository.
3. Copy required license and notice files into this folder.
4. Add the package to `THIRD-PARTY-NOTICES.txt` and `THIRD-PARTY-INVENTORY.csv`.
5. Do not ship GPL, AGPL, SSPL, non-commercial, or unclear licenses without a
   separate review.
