We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a0f0eb commit 783f75bCopy full SHA for 783f75b
src/config.js
@@ -32,11 +32,12 @@ function createConfig(isDev = false, buildConfig = {}) {
32
// Add OS information
33
params.append('os', process.platform);
34
35
- // Add architecture information
36
- params.append('arch', process.arch);
+ // Add architecture information (ensure it's not undefined)
+ const arch = process.arch || 'unknown';
37
+ params.append('arch', arch);
38
39
// Add packaging method from build configuration (Windows only)
- if (process.platform === 'win32') {
40
+ if (process.platform === 'win32' && this.build && this.build.packagingMethod) {
41
params.append('method', this.build.packagingMethod);
42
}
43
0 commit comments