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 fee34dc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 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
11 changes: 10 additions & 1 deletion publish/forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ export default {
name: "Netron-${version}"
/* eslint-enable no-template-curly-in-string */
}
},
{
name: '@electron-forge/maker-snap',
platforms: ['linux'],
config: {
grade: 'stable'
}
}
],
publishers: [
Expand All @@ -59,7 +66,9 @@ export default {
},
{
"name": "@electron-forge/publisher-snapcraft",
"config": {}
"config": {
release: "latest/stable"
}
}
]
};

0 comments on commit fee34dc

Please sign in to comment.