Version: 0.2.1
Commit: 765f8f5de86369dd154bec8af070d848133029c1
New Features
- Auto-generate npm Commands and Documentation (#302) — All
winapp CLIcommands are now exposed as typed JS/TS functions in the npm package. This enhancement allows seamless importing and usage of commands in projects with auto-generated exports to stay up-to-date.import { init, packageApp, certGenerate } from '@microsoft/winappcli';
- New
cert infoCommand (#305) — A new subcommand that displays detailed information about a PFX certificate, including subject, issuer, and validity, facilitating certificate verification before signing.winapp cert info ./devcert.pfx --password password
- Support SVG for Asset Generation (#326) — The
manifest update-assetscommand now supports SVG files, converting them to bitmap images for asset generation, expanding the capability to include vector graphics.winapp manifest update-assets .\image.svg - Add
--export-cerFlag and--jsonOutput for Cert Commands (#305) — Introduced a flag to export a public key as a.cerfile and a JSON output format forcert generateandcert infocommands enhances programmability and ease of integration with other tools. - Automatic WinRT Component Discovery (#334) — The
winapp CLIcan now automatically discover and register third-party WinRT components based on.winmdfiles during packaging, improving the packaging experience for developers using external libraries.
Bug Fixes
- Packaging Command Bug Fixes (#344) — Addressed several issues in the packaging command, including preventing the overwriting of existing PRI resources and checking executable architecture, ensuring smoother packaging workflows.
- Warning for
.pfxFiles in Input Folder (#338) — A warning is now printed when a.pfxfile is found in the input folder during packaging, improving user awareness without blocking the MSIX generation process.
Documentation
- Documentation Improvements (#333) — The introduction of a Copilot plugin enables improved reference management through skill-based documentation, streamlining user education and resource access.
Installation Options
MSIX Installer (Recommended)
- Download
winappcli_x64.msixfor x64 orwinappcli_arm64.msixfor ARM64 - Double-click to install
- Automatically added to PATH
Standalone CLI Binaries
- Download
winappcli-x64.zipfor x64 orwinappcli-arm64.zipfor ARM64 - Extract to your desired location
- Add to PATH or run directly:
winapp.exe
NPM Package (for Electron or NodeJS)
npm install microsoft-winappcli.tgzWhat's Included
- MSIX installer packages (x64 and ARM64)
- Standalone CLI binaries (x64 and ARM64)
- NPM package for NodeJS/Electron integration