Skip to content

Commit 5fa8ebf

Browse files
authored
Merge branch 'main' into copilot/add-custom-location-winapp
2 parents f355767 + 4ab2bdb commit 5fa8ebf

36 files changed

+424
-267
lines changed

.github/workflows/build-package.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install .NET Core
2323
uses: actions/setup-dotnet@v5
2424
with:
25-
dotnet-version: 9.0.x
25+
dotnet-version: 10.0.x
2626

2727
- name: Setup Node.js
2828
uses: actions/setup-node@v5
@@ -53,21 +53,28 @@ jobs:
5353
with:
5454
name: test-results
5555
path: artifacts/TestResults/*.trx
56+
if-no-files-found: error
5657

5758
- name: Upload CLI binaries
59+
if: ${{ !cancelled() }}
5860
uses: actions/upload-artifact@v4
5961
with:
6062
name: cli-binaries
6163
path: artifacts/cli/
64+
if-no-files-found: error
6265

6366
- name: Upload npm package
67+
if: ${{ !cancelled() }}
6468
uses: actions/upload-artifact@v4
6569
with:
6670
name: npm-package
6771
path: artifacts/*.tgz
68-
72+
if-no-files-found: error
73+
6974
- name: Upload MSIX packages
75+
if: ${{ !cancelled() }}
7076
uses: actions/upload-artifact@v4
7177
with:
7278
name: msix-packages
73-
path: artifacts/msix-packages/*.msix
79+
path: artifacts/msix-packages/*.msix
80+
if-no-files-found: error

.pipelines/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ extends:
3232
steps:
3333
- checkout: self
3434
- task: UseDotNet@2
35-
displayName: Setup .NET 9
35+
displayName: Setup .NET 10
3636
inputs:
37-
version: 9.0.x
37+
version: 10.0.x
3838
- task: UseNode@1
3939
displayName: Setup Node.js 24
4040
inputs:

.pipelines/release.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ extends:
4646
steps:
4747
- checkout: self
4848
- task: UseDotNet@2
49-
displayName: Setup .NET 9
49+
displayName: Setup .NET 10
5050
inputs:
51-
version: 9.0.x
51+
version: 10.0.x
5252
- ${{ if eq(parameters.DoEsrp, 'true') }}:
5353
- task: UseDotNet@2
5454
displayName: Setup .NET 6.0 (For ESRP Task)
@@ -208,8 +208,8 @@ extends:
208208
# contentsource: 'Folder'
209209
# folderlocation: $(Pipeline.Workspace)/npm-package/
210210
# waitforreleasecompletion: true
211-
# owners: '[email protected]'
212-
# approvers: '[email protected]'
211+
# owners: '$(EsrpOwnersEmail)'
212+
# approvers: '$(EsrpApproversEmail)'
213213
# serviceendpointurl: 'https://api.esrp.microsoft.com'
214214
# mainpublisher: 'winappcli'
215215
# domaintenantid: ${{ parameters.signingIdentity.tenantId }}
@@ -261,8 +261,7 @@ extends:
261261
Write-Host "ARM64 MSIX: $arm64MsixUrl"
262262
263263
# Submit to WinGet repository
264-
# Commented out for now to prevent accidental submissions
265-
# wingetcreate update Microsoft.WinAppCli `
266-
# --version $(version) `
267-
# --urls $x64MsixUrl $arm64MsixUrl `
268-
# --submit
264+
wingetcreate update Microsoft.WinAppCli `
265+
--version $(version) `
266+
--urls $x64MsixUrl $arm64MsixUrl `
267+
--submit

README.md

Lines changed: 29 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Windows App Development CLI
2+
3+
> [!IMPORTANT]
4+
> :warning: **Status: Public Preview** - The Windows App Development CLI is experimental and in active development. We'd love your feedback! Share your thoughts by creating an [issue](https://github.com/microsoft/WinAppCli/issues).
5+
16
<p align="center">
27
<picture>
38
<source media="(prefers-color-scheme: dark)" srcset="./docs/images/hero-dark.png">
@@ -8,25 +13,22 @@
813

914
<h3 align="center">
1015
<a href="#-installation">Installation</a>
11-
<span> . </span>
16+
<span> </span>
1217
<a href="#-usage">Usage</a>
13-
<span> . </span>
18+
<span> </span>
1419
<a href="./docs/usage.md">Documentation</a>
15-
<span> . </span>
20+
<span> </span>
1621
<a href="#-try-the-windows-identity-app">GUI</a>
17-
<span> . </span>
22+
<span> </span>
1823
<a href="#-feedback">Feedback</a>
1924
</h3>
20-
<br/><br/>
21-
22-
> [!IMPORTANT]
23-
> The Windows App Development CLI is in preview and in active development, and we'd love your feedback! Share your thoughts by creating an [issue](https://github.com/microsoft/WinAppCli/issues).
25+
<br/>
2426

2527
The Windows App Development CLI is a single command-line interface for managing Windows SDKs, packaging, generating app identity, manifests, certificates, and using build tools with any app framework. This tool bridges the gap between cross-platform development and Windows-native capabilities.
2628
<br/><br/>
2729
Whether you're building with Electron, .NET/Win32, CMake, or Python, this CLI gives you access to:
2830

29-
- **Modern Windows APIs** - Windows App SDK and Windows SDK with automatic setup and code generation
31+
- **Modern Windows APIs** - [Windows App SDK](https://learn.microsoft.com/windows/apps/windows-app-sdk/) and Windows SDK with automatic setup and code generation
3032
- **App Identity** - Debug and test by adding app identity without full packaging in a snap
3133
- **MSIX Packaging** - App packaging with signing and Store readiness
3234
- **Developer Tools** - Manifests, certificates, assets, and build integration
@@ -53,7 +55,9 @@ The easiest way to use the CLI is to download the latest build from GitHub Relea
5355

5456
### Adding to Path
5557

56-
The easiest way to use the CLI globally is to install it via the MSIX installer
58+
The easiest way to use the CLI globally is to install it via the [MSIX installer](https://github.com/microsoft/WinAppCli/releases/latest).
59+
60+
You can also add it manually: Windows Search → Edit the system environment variables → Environment Variables → Path → Edit → New → Add the location (folder) of winapp CLI.
5761

5862
## 📋 Usage
5963

@@ -105,25 +109,30 @@ The full CLI usage can be found here: [Documentation](/docs/usage.md)
105109
- [File an issue, feature request or bug](https://github.com/microsoft/WinAppCli/issues): please ensure that you are not filing a duplicate issue
106110
- Send feedback to <[email protected]>: Do you love this tool? Are there features or fixes you want to see? Let us know!
107111

108-
We are actively working on improving Node and Python support. These features are currently experimental and we are aware of several issues with these app types.
112+
We are actively working on improving Node and Python support. These features are experimental and we are aware of several issues with these app types.
109113

110114
## 🧪 Try the Windows Identity App
111115

112-
This repository also contains an **experimental** app (GUI) that wraps the CLI and provides an intuitive, drag-and-drop experience. [See the docs](/docs/gui-usage.md) for more details.
116+
This repository also contains an **experimental** app (GUI) that wraps the CLI and provides an intuitive, drag-and-drop experience. [See the docs](/docs/gui-usage.md) for more details. [Download the app here](https://github.com/microsoft/WinAppCli/releases/tag/v0.1.1-gui).
117+
118+
## 🧾 Samples
119+
120+
This repository will continue to be added with samples. Currently the following samples exist:
121+
122+
- [Electron sample](/samples/electron/README.md): a default Electron Forge generated application + initialized a winapp project with appxmanifest, assets + native addon + C# addon + generates cert
123+
124+
## Support
125+
126+
Need help or have questions about the Windows App Development CLI? Visit our **[Support Guide](./SUPPORT.md)** for information about our issue templates and triage process.
113127

114128
## Contributing
115129

116-
This project welcomes contributions and suggestions. Most contributions require you to agree to a
117-
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
118-
the rights to use your contribution. For details, visit [Contributor License Agreements](https://cla.opensource.microsoft.com).
130+
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit [Contributor License Agreements](https://cla.opensource.microsoft.com).
119131

120-
When you submit a pull request, a CLA bot will automatically determine whether you need to provide
121-
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
122-
provided by the bot. You will only need to do this once across all repos using our CLA.
132+
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
123133

124134
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
125-
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
126-
contact [[email protected]](mailto:[email protected]) with any additional questions or comments.
135+
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.
127136

128137
To build the CLI:
129138
```

SUPPORT.md

Lines changed: 49 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,58 @@
1-
# TODO: The maintainer of this repo has not yet edited this file
1+
# Support
22

3-
**REPO OWNER**: Do you want Customer Service & Support (CSS) support for this product/project?
3+
## How to file issues and get help
44

5-
- **No CSS support:** Fill out this template with information about how to file issues and get help.
6-
- **Yes CSS support:** Fill out an intake form at [aka.ms/onboardsupport](https://aka.ms/onboardsupport). CSS will work with/help you to determine next steps.
7-
- **Not sure?** Fill out an intake as though the answer were "Yes". CSS will help you decide.
5+
This project uses GitHub Issues to track bugs and feature requests. Please search the existing issues before filing new issues to avoid duplicates.
86

9-
*Then remove this first heading from this SUPPORT.MD file before publishing your repo.*
7+
### Filing Issues
108

11-
# Support
9+
We have specific issue templates to help you provide the right information:
10+
11+
- **[Bug Report](https://github.com/microsoft/WinAppCli/issues/new?template=bug-report.md)** - Report something that isn't working correctly
12+
- **[Feature Request](https://github.com/microsoft/WinAppCli/issues/new?template=feature_request.md)** - Suggest a new feature or enhancement
13+
- **[General Issues](https://github.com/microsoft/WinAppCli/issues)** - File any other type of issue or browse existing issues
14+
15+
Please ensure that you are not filing a duplicate issue by searching existing issues first.
16+
17+
### Getting Help
18+
19+
For help and questions about using this project:
20+
21+
1. Check our [documentation](./docs/usage.md) for detailed usage instructions
22+
2. Browse existing [GitHub Issues](https://github.com/microsoft/WinAppCli/issues) for similar questions
23+
3. File a new issue with the `question` label if you need additional help
24+
25+
## Issue Triage
26+
27+
Our team actively monitors and manages issues in this repository.
28+
29+
- **Bug Reports and questions**: Critical bugs are prioritized and addressed as quickly as possible. Questions will be monitored.
30+
- **Feature Requests**: Evaluated during regular planning cycles
31+
32+
### When a New Issue is Created
33+
34+
All new issues are automatically reviewed and tagged with appropriate labels:
35+
36+
- **Type**: `bug`, `enhancement`, `question`, `documentation`
37+
- **Framework/language**: `dotnet`, `electron`, `javascript`, `python`, `gui` (based on the affected area)
38+
- **Priority**: `good first issue`, `help wanted` (for community contribution opportunities)
39+
40+
### Investigation
41+
42+
As we investigate and work on issues, additional labels are applied:
43+
44+
- **`known-issue`** - Applied to issues the team has identified and is tracking
45+
- **`needs:docs`** - Issues that require documentation updates or clarification
46+
- **`dependencies`** - Issues related to external dependency updates
1247

13-
## How to file issues and get help
48+
### Closing Issues
1449

15-
This project uses GitHub Issues to track bugs and feature requests. Please search the existing
16-
issues before filing new issues to avoid duplicates. For new issues, file your bug or
17-
feature request as a new Issue.
50+
When closing issues, we apply final classification labels:
1851

19-
For help and questions about using this project, please **REPO MAINTAINER: INSERT INSTRUCTIONS HERE
20-
FOR HOW TO ENGAGE REPO OWNERS OR COMMUNITY FOR HELP. COULD BE A STACK OVERFLOW TAG OR OTHER
21-
CHANNEL. WHERE WILL YOU HELP PEOPLE?**.
52+
- **`duplicate`** - Issue already reported elsewhere (includes link to original)
53+
- **`invalid`** - Issue doesn't seem right or cannot be reproduced
54+
- **`wontfix`** - Issue will not be addressed (with explanation in comments)
2255

23-
## Microsoft Support Policy
56+
## Microsoft Support Policy
2457

25-
Support for this **PROJECT or PRODUCT** is limited to the resources listed above.
58+
Support for the Windows App Development CLI is limited to the resources listed above. This is an open-source project maintained by Microsoft, and community contributions are welcome.

docs/gui-usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Clone and build this repository. Run winapp.cli in Visual Studio to build and ru
3333

3434
### Download the MSIX (build pipeline in progress)
3535

36-
1. **[👉 Download Latest Experimental Build (unsigned .msix)](https://github.com/microsoft/WinAppCli/releases/latest)**
36+
1. **[👉 Download Latest Experimental Build (unsigned .msix)](https://github.com/microsoft/WinAppCli/releases/tag/v0.1.1-gui)**
3737
2. Run Powershell as **Administrator** and `Add-AppPackage -Path <msix> -AllowUnsigned`
3838

3939
`<msix>` should be replaced with the full path of the downloaded build (msix file).

docs/images/hero-dark.png

-146 KB
Loading

docs/images/hero-light.png

-115 KB
Loading

0 commit comments

Comments
 (0)