Skip to content

Commit

Permalink
Merge pull request #1216 from exokitxr/electron-android
Browse files Browse the repository at this point in the history
[Quest] Bugfix electron vm loading
  • Loading branch information
avaer committed Jun 17, 2019
2 parents 87b9b36 + 9470e8f commit 1462531
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/electron-vm.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ const child_process = require('child_process');
const os = require('os');
const {TextEncoder} = require('util');

const electron = require('electron');
const bindings = require('./native-bindings');
const electron = !bindings.nativePlatform ? require('electron') : null;
const keycode = require('keycode');

const GlobalContext = require('./GlobalContext');
Expand Down Expand Up @@ -459,4 +460,4 @@ browser.postMessage({
console.log('exiting...');
cp.kill(9);
});
} */
} */

0 comments on commit 1462531

Please sign in to comment.