exec-appx
v0.2.2
Published
Executes a Windows Store application (Appx)
Maintainers
Readme
exec-appx
Executes a Windows Store application (Appx).
Prerequisites
This library requires PowerShell 5.0 (or higher) and support for the Windows Store.
Installation
npm install exec-appx
Usage
execAppx(appID, args = [], options = {})
Example usage in script:
import { execAppx } from 'exec-appx';
await execAppx('Mozilla.Firefox');[!IMPORTANT]
For some applications, the AppX manifest specifies multiple executables. To deal with this special case, pass an object as the first argument.await execAppx({ appId: 'Mozilla.Firefox', specifier: 'firefox.exe' // or the index in the filenames array })
Options
See child_process.spawn documentation for details.
Related
License
This work is licensed under The MIT License.
