Skip to content
Permalink
Browse files

chore(generic): upgrade electron-windows-store to 0.12

electron-windows-store no longer packages the test folder, so vendor the
bogus private key for tests.
  • Loading branch information
malept committed Sep 17, 2017
1 parent 9156296 commit fcdc0a0298e6c0c3b42569ed8db3ea77cafef751
@@ -148,7 +148,7 @@
"electron-installer-dmg": "^0.2.0",
"electron-installer-flatpak": "^0.6.0",
"electron-installer-redhat": "^0.5.0",
"electron-windows-store": "^0.10.1",
"electron-windows-store": "^0.12.0",
"electron-winstaller": "^2.5.0"
},
"engines": {
@@ -19,9 +19,10 @@ describe('appx maker', () => {

if (process.platform === 'win32') {
it('should create a .pfx file', async () => {
await fs.copy(join(__dirname, '..', '..', '..', 'node_modules',
'electron-windows-store', 'test', 'lib', 'bogus-private-key.pvk'),
join(tmpDir, 'dummy.pvk'));
await fs.copy(
join(__dirname, '..', '..', 'fixture', 'bogus-private-key.pvk'),
join(tmpDir, 'dummy.pvk')
);
const outputCertPath = await createDefaultCertificate('CN=Test', {
certFilePath: tmpDir,
certFileName: 'dummy',
Binary file not shown.
@@ -169,7 +169,7 @@ describe(`electron-forge API (with installer=${installer.substr(12)})`, () => {
packageJSON.config.forge.windowsStoreConfig.packageName = 'TestApp';
if (process.platform === 'win32') {
await fs.copy(
path.join(__dirname, '..', '..', 'node_modules', 'electron-windows-store', 'test', 'lib', 'bogus-private-key.pvk'),
path.join(__dirname, '..', 'fixture', 'bogus-private-key.pvk'),
path.join(dir, 'default.pvk')
);
packageJSON.config.forge.windowsStoreConfig.devCert = await createDefaultCertificate(

0 comments on commit fcdc0a0

Please sign in to comment.
You can’t perform that action at this time.