Skip to content

Commit

Permalink
fix: do not generate invalid nightly update site
Browse files Browse the repository at this point in the history
  • Loading branch information
Akos Kitta committed Jul 31, 2023
1 parent f7d56e5 commit 28bc470
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions electron-app/scripts/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ async function run() {
];
const updateChannel = getChannel();
if (updateChannel) {
args.push(
'-c.extraMetadata.theia.frontend.config.arduino.ide.updateChannel',
updateChannel
);
// TODO: fix the default nightly update channel preference value if required.
// It's disabled for now: https://github.com/arduino/arduino-ide/issues/2157.
// args.push(
// '-c.extraMetadata.theia.frontend.config.arduino.ide.updateChannel',
// updateChannel
// );
}
const cp = exec('electron-builder', args, { stdio: 'inherit' });
await cp;
Expand Down

0 comments on commit 28bc470

Please sign in to comment.