Returns the path of a Windows Store application (Appx)
This library requires PowerShell 5.0 (or higher) and support for the Windows Store
yarn add get-appx-path || npm install get-appx-path
getAppxPath(appID: string, options: Object)
Example usage in script:
const getAppxPath = require('get-appx-path');
// Application ID
const appID = 'SpotifyAB.SpotifyMusic';
(async () => {
try {
const appx = await getAppxPath(appID);
console.log(appx.path);
} catch (err) {
console.error(err);
}
})();
Default: utf8
Default: utf8
Default: false
Default: true
Default: Bypass
Default: true
This work is licensed under The MIT License