Skip to content

Commit

Permalink
Update electron-bin scripts to 22.3.25
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Oct 3, 2023
1 parent 0c3202a commit 4b5b348
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions electron-bin/generate-windows.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const crypto = require('crypto');

const {electronVersion} = require('./version.json');

const newIconPath = path.join(__dirname, '..', 'src', 'packager', 'images', 'default-icon.ico');
const newIconPath = path.join(__dirname, '../src/packager/images/default-icon.ico');

const download = (arch) => downloadArtifact({
version: electronVersion,
Expand All @@ -19,7 +19,7 @@ const download = (arch) => downloadArtifact({
arch
});

const getTempFile = (name) => path.join(__dirname, 'temp', 'windows', name);
const getTempFile = (name) => path.join(__dirname, 'temp/windows', name);

const extract = async (from, name) => {
const to = getTempFile(name);
Expand Down Expand Up @@ -74,6 +74,7 @@ const run = async (arch) => {

run('ia32')
.then(() => run('x64'))
.then(() => run('arm64'))
.catch((err) => {
console.error(err);
process.exit(1);
Expand Down
2 changes: 1 addition & 1 deletion electron-bin/version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"electronVersion": "21.2.3"
"electronVersion": "22.3.25"
}

0 comments on commit 4b5b348

Please sign in to comment.