removed bytenode encryption, might allow us to have 32bit again later

This commit is contained in:
Shane Harris
2020-09-12 10:48:00 +01:00
parent 7d2bb30212
commit e657457107
4 changed files with 1 additions and 18 deletions
-1
View File
@@ -34,7 +34,6 @@ jspm_packages/
build/app
build/platform-tools
!build-electron/app.jsc
build-electron
.idea
.vscode
Binary file not shown.
-16
View File
@@ -1,16 +0,0 @@
'use strict';
const bytenode = require('bytenode');
const fs = require('fs');
const v8 = require('v8');
v8.setFlagsFromString('--no-lazy');
if (!fs.existsSync(__dirname + '/app.jsc') || process.env.NODE_ENV === 'dev') {
bytenode.compileFile(__dirname + '/app.js', __dirname + '/app.jsc');
}
if (process.argv.indexOf('gen-code') > -1) {
require('electron').app.quit();
} else {
require('./app.jsc');
}
+1 -1
View File
@@ -6,7 +6,7 @@
"repository": "https://github.com/SideQuestVR/SideQuest.git",
"license": "UNLICENCED",
"author": "Shane Harris",
"main": "build-electron/boot.js",
"main": "build-electron/app.js",
"scripts": {
"concurrently": "concurrently",
"start": "concurrently \"yarn electron-build && yarn platform-tools && wait-on http-get://localhost:4205/ && cross-env NODE_ENV=dev electron .\" \"cd desktop-app && ng serve --port 4205\"",