Skip to content

Commit

Permalink
Update forge.config.js (#632)
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder committed Nov 28, 2024
1 parent 964d94d commit 52d6893
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
13 changes: 8 additions & 5 deletions package.js
Original file line number Diff line number Diff line change
Expand Up @@ -589,11 +589,14 @@ const forge = async() => {
const command = read();
switch (command) {
case 'install': {
await exec('npm install @electron-forge/[email protected]');
await exec('npm install @electron-forge/[email protected]');
await exec('npm install @electron-forge/[email protected]');
await exec('npm install @electron-forge/[email protected]');
await exec('npm install @electron-forge/[email protected]');
const packages = [
'@electron-forge/cli',
'@electron-forge/core',
'@electron-forge/maker-snap',
'@electron-forge/maker-dmg',
'@electron-forge/maker-zip'
];
await exec(`npm install ${packages.join(' ')} --no-save`);
break;
}
case 'update': {
Expand Down
5 changes: 5 additions & 0 deletions publish/forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ export default {
name: "Netron-${version}"
/* eslint-enable no-template-curly-in-string */
}
},
{
name: '@electron-forge/maker-snap',
config: {
}
}
],
publishers: [
Expand Down

0 comments on commit 52d6893

Please sign in to comment.