Dynamically generate appx manifest
This commit is contained in:
parent
4afdf0a861
commit
4b57149a93
1 changed files with 8 additions and 2 deletions
|
|
@ -1,16 +1,22 @@
|
|||
const convertToWindowsStore = require('electron-windows-store')
|
||||
const path = require('path')
|
||||
const package = require('../package.json');
|
||||
|
||||
convertToWindowsStore({
|
||||
containerVirtualization: false,
|
||||
inputDirectory: path.join(__dirname, '../release-builds/openflexure-microscope-js-win32-x64'),
|
||||
outputDirectory: path.join(__dirname, '../release-builds/installers'),
|
||||
assets: path.join(__dirname, '/appx/assets'),
|
||||
manifest: path.join(__dirname, '/appx/AppXManifest.xml'),
|
||||
packageExecutable: 'app/openflexure-microscope-js.exe',
|
||||
packageName: 'OpenFlexureMicroscopeJS',
|
||||
packageVersion: `${package.version}.0`,
|
||||
packageDisplayName: package.productName,
|
||||
packageDescription: package.description,
|
||||
packageBackgroundColor: '#9C1561',
|
||||
publisherDisplayName: package.publisher,
|
||||
deploy: false,
|
||||
publisher: 'CN=bath-open-instrumentation-group',
|
||||
publisherDisplayName: "Bath Open Instrumentation Group",
|
||||
devCert: "C:\\Users\\jtc92\\AppData\\Roaming\\electron-windows-store\\bath-open-instrumentation-group\\bath-open-instrumentation-group.pfx",
|
||||
devCert: "C:\\Certs\\openflexure-microscope-js-appx\\openflexure-microscope-js-appx.pfx",
|
||||
windowsKit: 'C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.17763.0\\x64'
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue