electron-userland / electron-windows-store

:package: Turn Electron Apps into Windows AppX Packages
MIT License
681 stars 87 forks source link

Adding UWP side-kick (winmd)? #100

Closed dganzella closed 6 years ago

dganzella commented 6 years ago

How do I specify a .winmd side-kick that should be added along the application?

AFAIK, the winmd should appear in the pre-appx folder along with the manifest, but how do I specify which winmd should be copied there?

On the example https://github.com/felixrieseberg/electron-uwp-background you build using Add-AppxPackage directly instead of using the electron-windows-store node module,

Thanks.

dganzella commented 6 years ago

I found A way. you have to use the "finalSay" on the node usage.

1 - make a file pizza.js 2 - put this inside the code as shown in the example on this git 3 - add var fs = require('fs'); 4 - copy files in the final say 3 - run on powershell, node pizza.js