$OpenBSD: epatch-electron_node_modules_arch_index_js,v 1.1 2019/08/22 19:20:03 robert Exp $

Index: electron/node_modules/arch/index.js
--- electron/node_modules/arch/index.js.orig
+++ electron/node_modules/arch/index.js
@@ -47,7 +47,7 @@ module.exports = function arch () {
   /**
    * On Linux, use the `getconf` command to get the architecture.
    */
-  if (process.platform === 'linux') {
+  if (process.platform === 'openbsd') {
     var output = cp.execSync('getconf LONG_BIT', {encoding: 'utf8'})
     return output === '64\n' ? 'x64' : 'x86'
   }
