exec-appx

0.1.4 • Public • Published

exec-appx

npm npm CircleCI David

Executes a Windows Store application (Appx)

Prerequisites

This library requires PowerShell 5.0 (or higher) and support for the Windows Store

Installation

yarn add exec-appx || npm install exec-appx

Usage

execAppx(appID: string, args: Array, options: Object)

Example usage in script:

const execAppx = require('exec-appx');

// Application ID
const appID = 'SpotifyAB.SpotifyMusic';

(async () => {
    try {
        await execAppx(appID);
    } catch (err) {
        console.error(err);
    }
})();

Options

See child_process.spawn documentation for details

Related

License

This work is licensed under The MIT License

Package Sidebar

Install

npm i exec-appx

Weekly Downloads

2

Version

0.1.4

License

MIT

Unpacked Size

3.45 kB

Total Files

4

Last publish

Collaborators

  • idleberg