You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,11 @@
18
18
<ahref="#-feedback">Feedback</a>
19
19
</h3>
20
20
<br/><br/>
21
-
The Windows 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.
21
+
22
+
> [!IMPORTANT]
23
+
> The Windows App Development CLI is in priview and in active development, and we’d love your feedback! Share your thoughts by creating an [issue](https://github.com/microsoft/WinAppCli/issues).
24
+
25
+
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.
22
26
<br/><br/>
23
27
Whether you're building with Electron, .NET/Win32, CMake or Python, this CLI gives you access to:
Copy file name to clipboardExpand all lines: docs/usage.md
+20-12Lines changed: 20 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,6 @@ winapp restore [options]
57
57
**Options:**
58
58
59
59
-`--config-dir <path>` - Directory containing winapp.yaml (default: current directory)
60
-
-`--prerelease` - Include prerelease packages from NuGet
61
60
62
61
**What it does:**
63
62
@@ -109,12 +108,12 @@ winapp update --prerelease
109
108
110
109
---
111
110
112
-
### package
111
+
### pack
113
112
114
-
Create MSIX packages from prepared application directories. Requires Appxmanifest file to be present in the directory (run `init` or `manifest generate` to create a manifest)
113
+
Create MSIX packages from prepared application directories. Requires appxmanifest.xml file to be present in the target dirrectory, in the current directory, or passed with the `--manifest` option. (run `init` or `manifest generate` to create a manifest)
Access Windows SDK tools directly. Uses tools available in [Microsoft.Windows.SDK.BuildTools](https://www.nuget.org/packages/Microsoft.Windows.SDK.BuildTools/)
*(Node.js/Electron only)* Add app identity to Electron development process.
395
+
*(Available in NPM package only)* Add app identity to Electron development process by using sparse packaging. Requires an appxmanifest.xml (create one with `winapp init` or `winapp manifest generate` if you don't have one)
396
+
397
+
> [!IMPORTANT]
398
+
> There is a known issue with sparse packaging Electron applications which causes the app to crash on start or not render the web content. The issue has been fixed in Windows but it has not propagated to external Windows devices yet. If you are seeing this issue after calling `add-electron-debug-identity`, you can [disable sandboxing in your Electron app](https://www.electronjs.org/docs/latest/tutorial/sandbox#disabling-chromiums-sandbox-testing-only) for debug purposes with the `--no-sandbox` flag. This issue does not affect full MSIX packaging.
399
+
<br /><br />
400
+
To undo the electron debug identity, the easiest is to clear your node modules folder (or just the electron folder) and `npm install` again
0 commit comments