Skip to content

Release v0.2.1

Latest

Choose a tag to compare

@azchohfi azchohfi released this 30 Mar 18:13

Version: 0.2.1
Commit: 765f8f5de86369dd154bec8af070d848133029c1

New Features

  • Auto-generate npm Commands and Documentation (#302) — All winapp CLI commands 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 info Command (#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-assets command 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-cer Flag and --json Output for Cert Commands (#305) — Introduced a flag to export a public key as a .cer file and a JSON output format for cert generate and cert info commands enhances programmability and ease of integration with other tools.
  • Automatic WinRT Component Discovery (#334) — The winapp CLI can now automatically discover and register third-party WinRT components based on .winmd files 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 .pfx Files in Input Folder (#338) — A warning is now printed when a .pfx file 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)

  1. Download winappcli_x64.msix for x64 or winappcli_arm64.msix for ARM64
  2. Double-click to install
  3. Automatically added to PATH

Standalone CLI Binaries

  1. Download winappcli-x64.zip for x64 or winappcli-arm64.zip for ARM64
  2. Extract to your desired location
  3. Add to PATH or run directly: winapp.exe

NPM Package (for Electron or NodeJS)

npm install microsoft-winappcli.tgz

What's Included

  • MSIX installer packages (x64 and ARM64)
  • Standalone CLI binaries (x64 and ARM64)
  • NPM package for NodeJS/Electron integration