Executes a Windows Store application (Appx)
This library requires PowerShell 5.0 (or higher) and support for the Windows Store
yarn add exec-appx || npm install exec-appx
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);
}
})();
See child_process.spawn
documentation for details
This work is licensed under The MIT License