removed bytenode encryption, might allow us to have 32bit again later
This commit is contained in:
@@ -34,7 +34,6 @@ jspm_packages/
|
|||||||
|
|
||||||
build/app
|
build/app
|
||||||
build/platform-tools
|
build/platform-tools
|
||||||
!build-electron/app.jsc
|
|
||||||
build-electron
|
build-electron
|
||||||
.idea
|
.idea
|
||||||
.vscode
|
.vscode
|
||||||
|
|||||||
Binary file not shown.
@@ -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
@@ -6,7 +6,7 @@
|
|||||||
"repository": "https://github.com/SideQuestVR/SideQuest.git",
|
"repository": "https://github.com/SideQuestVR/SideQuest.git",
|
||||||
"license": "UNLICENCED",
|
"license": "UNLICENCED",
|
||||||
"author": "Shane Harris",
|
"author": "Shane Harris",
|
||||||
"main": "build-electron/boot.js",
|
"main": "build-electron/app.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"concurrently": "concurrently",
|
"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\"",
|
"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\"",
|
||||||
|
|||||||
Reference in New Issue
Block a user