mirror of
https://github.com/OpenFusionProject/Client.git
synced 2026-01-02 11:10:18 +00:00
Move to npm for development and packaging
I had to hack the package.json to force `electron-prebuilt` to use a 32-bit binary - everything else should be fairly out of the box
This commit is contained in:
13
patches/electron-prebuilt+0.31.2.patch
Normal file
13
patches/electron-prebuilt+0.31.2.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/node_modules/electron-prebuilt/install.js b/node_modules/electron-prebuilt/install.js
|
||||
index 3261c69..3fcb876 100644
|
||||
--- a/node_modules/electron-prebuilt/install.js
|
||||
+++ b/node_modules/electron-prebuilt/install.js
|
||||
@@ -24,7 +24,7 @@ var paths = {
|
||||
if (!paths[platform]) throw new Error('Unknown platform: ' + platform)
|
||||
|
||||
// downloads if not cached
|
||||
-download({version: version}, extractFile)
|
||||
+download({version: version, arch: 'ia32', platform: 'win32'}, extractFile)
|
||||
|
||||
// unzips and makes path.txt point at the correct executable
|
||||
function extractFile (err, zipPath) {
|
||||
Reference in New Issue
Block a user