Update electron to latest (#850)

This commit is contained in:
Snarling 2023-10-04 19:46:08 -04:00 committed by GitHub
parent feb3f1a5db
commit 1b271d6e29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 19 additions and 26 deletions

@ -7,16 +7,9 @@ var fs = require("fs");
var greenworks; var greenworks;
if (process.platform == "darwin") { if (process.platform === "darwin") greenworks = require("./lib/greenworks-osx64");
if (process.arch == "x64") greenworks = require("./lib/greenworks-osx64"); else if (process.platform === "win32") greenworks = require("./lib/greenworks-win64");
else if (process.arch == "ia32") greenworks = require("./lib/greenworks-osx32"); else if (process.platform === "linux") greenworks = require("./lib/greenworks-linux64");
} else if (process.platform == "win32") {
if (process.arch == "x64") greenworks = require("./lib/greenworks-win64");
else if (process.arch == "ia32") greenworks = require("./lib/greenworks-win32");
} else if (process.platform == "linux") {
if (process.arch == "x64") greenworks = require("./lib/greenworks-linux64");
else if (process.arch == "ia32") greenworks = require("./lib/greenworks-linux32");
}
function error_process(err, error_callback) { function error_process(err, error_callback) {
if (err && error_callback) error_callback(err); if (err && error_callback) error_callback(err);

Binary file not shown.

Binary file not shown.

Binary file not shown.

30
package-lock.json generated

@ -72,7 +72,7 @@
"babel-jest": "^29.3.1", "babel-jest": "^29.3.1",
"babel-loader": "^9.1.2", "babel-loader": "^9.1.2",
"css-loader": "^6.7.3", "css-loader": "^6.7.3",
"electron": "^22.2.1", "electron": "^26.2.4",
"electron-packager": "^17.1.1", "electron-packager": "^17.1.1",
"eslint": "^8.43.0", "eslint": "^8.43.0",
"eslint-plugin-react": "^7.32.2", "eslint-plugin-react": "^7.32.2",
@ -4320,9 +4320,9 @@
"integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==" "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA=="
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "16.18.11", "version": "18.18.3",
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.11.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.18.3.tgz",
"integrity": "sha512-3oJbGBUWuS6ahSnEq1eN2XrCyf4YsWI8OyCvo7c64zQJNplk3mO84t53o8lfTk+2ji59g5ycfc6qQ3fdHliHuA==", "integrity": "sha512-0OVfGupTl3NBFr8+iXpfZ8NR7jfFO+P1Q+IO/q0wbo02wYkP5gy36phojeYWpLQ6WAMjl+VfmqUk2YbUfp0irA==",
"dev": true "dev": true
}, },
"node_modules/@types/numeral": { "node_modules/@types/numeral": {
@ -7117,14 +7117,14 @@
"dev": true "dev": true
}, },
"node_modules/electron": { "node_modules/electron": {
"version": "22.3.25", "version": "26.2.4",
"resolved": "https://registry.npmjs.org/electron/-/electron-22.3.25.tgz", "resolved": "https://registry.npmjs.org/electron/-/electron-26.2.4.tgz",
"integrity": "sha512-AjrP7bebMs/IPsgmyowptbA7jycTkrJC7jLZTb5JoH30PkBC6pZx/7XQ0aDok82SsmSiF4UJDOg+HoLrEBiqmg==", "integrity": "sha512-weMUSMyDho5E0DPQ3breba3D96IxwNvtYHjMd/4/wNN3BdI5s3+0orNnPVGJFcLhSvKoxuKUqdVonUocBPwlQA==",
"dev": true, "dev": true,
"hasInstallScript": true, "hasInstallScript": true,
"dependencies": { "dependencies": {
"@electron/get": "^2.0.0", "@electron/get": "^2.0.0",
"@types/node": "^16.11.26", "@types/node": "^18.11.18",
"extract-zip": "^2.0.1" "extract-zip": "^2.0.1"
}, },
"bin": { "bin": {
@ -20964,9 +20964,9 @@
"integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==" "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA=="
}, },
"@types/node": { "@types/node": {
"version": "16.18.11", "version": "18.18.3",
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.11.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.18.3.tgz",
"integrity": "sha512-3oJbGBUWuS6ahSnEq1eN2XrCyf4YsWI8OyCvo7c64zQJNplk3mO84t53o8lfTk+2ji59g5ycfc6qQ3fdHliHuA==", "integrity": "sha512-0OVfGupTl3NBFr8+iXpfZ8NR7jfFO+P1Q+IO/q0wbo02wYkP5gy36phojeYWpLQ6WAMjl+VfmqUk2YbUfp0irA==",
"dev": true "dev": true
}, },
"@types/numeral": { "@types/numeral": {
@ -23098,13 +23098,13 @@
"dev": true "dev": true
}, },
"electron": { "electron": {
"version": "22.3.25", "version": "26.2.4",
"resolved": "https://registry.npmjs.org/electron/-/electron-22.3.25.tgz", "resolved": "https://registry.npmjs.org/electron/-/electron-26.2.4.tgz",
"integrity": "sha512-AjrP7bebMs/IPsgmyowptbA7jycTkrJC7jLZTb5JoH30PkBC6pZx/7XQ0aDok82SsmSiF4UJDOg+HoLrEBiqmg==", "integrity": "sha512-weMUSMyDho5E0DPQ3breba3D96IxwNvtYHjMd/4/wNN3BdI5s3+0orNnPVGJFcLhSvKoxuKUqdVonUocBPwlQA==",
"dev": true, "dev": true,
"requires": { "requires": {
"@electron/get": "^2.0.0", "@electron/get": "^2.0.0",
"@types/node": "^16.11.26", "@types/node": "^18.11.18",
"extract-zip": "^2.0.1" "extract-zip": "^2.0.1"
} }
}, },

@ -73,7 +73,7 @@
"babel-jest": "^29.3.1", "babel-jest": "^29.3.1",
"babel-loader": "^9.1.2", "babel-loader": "^9.1.2",
"css-loader": "^6.7.3", "css-loader": "^6.7.3",
"electron": "^22.2.1", "electron": "^26.2.4",
"electron-packager": "^17.1.1", "electron-packager": "^17.1.1",
"eslint": "^8.43.0", "eslint": "^8.43.0",
"eslint-plugin-react": "^7.32.2", "eslint-plugin-react": "^7.32.2",