electron 32.1.2 → 32.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/install.js CHANGED
@@ -1,13 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const { version } = require('./package');
3
+ const { downloadArtifact } = require('@electron/get');
4
+
5
+ const extract = require('extract-zip');
4
6
 
5
7
  const childProcess = require('child_process');
6
8
  const fs = require('fs');
7
9
  const os = require('os');
8
10
  const path = require('path');
9
- const extract = require('extract-zip');
10
- const { downloadArtifact } = require('@electron/get');
11
+
12
+ const { version } = require('./package');
11
13
 
12
14
  if (process.env.ELECTRON_SKIP_BINARY_DOWNLOAD) {
13
15
  process.exit(0);
@@ -59,7 +61,7 @@ function isInstalled () {
59
61
  if (fs.readFileSync(path.join(__dirname, 'path.txt'), 'utf-8') !== platformPath) {
60
62
  return false;
61
63
  }
62
- } catch (ignored) {
64
+ } catch {
63
65
  return false;
64
66
  }
65
67
 
package/package.json CHANGED
@@ -23,5 +23,5 @@
23
23
  "keywords": [
24
24
  "electron"
25
25
  ],
26
- "version": "32.1.2"
26
+ "version": "32.2.0"
27
27
  }