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
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,39 @@ This command will:
60
60
61
61
> **Tip:** Modify `winsdk.yaml` to change SDK versions, then run `winsdk init` or `winsdk restore` to update your project.
62
62
63
+
### Hosted Apps (Python/Node.js scripts)
64
+
65
+
The CLI supports packaging Python and Node.js scripts as MSIX packages using the [Hosted App model](https://learn.microsoft.com/en-us/windows/apps/desktop/modernize/hosted-apps). This allows your scripts to gain Windows app identity and capabilities without bundling a full runtime.
# Create debug identity (registers as a sparse package)
92
+
winsdk create-debug-identity
93
+
```
94
+
95
+
> **Note:** The hosted app model requires the appropriate runtime (Python 3.14+ or Node.js 22+) to be installed on the target system. The manifest specifies this as a runtime dependency.
publicCreateDebugIdentityCommand():base("create-debug-identity","Create and install a temporary package for debugging. Must be called every time the appxmanifest.xml is modified for changes to take effect.")
41
42
{
42
-
Arguments.Add(ExecutableArgument);
43
+
Arguments.Add(EntryPointArgument);
43
44
Options.Add(ManifestOption);
44
45
Options.Add(NoInstallOption);
45
46
Options.Add(LocationOption);
@@ -49,20 +50,20 @@ public class Handler(IMsixService msixService, ILogger<CreateDebugIdentityComman
0 commit comments