Closed 9p4 closed 3 years ago
Alright, so this was fixed in the worst way possible. Here are the steps I had to take to patch the code to work:
git clone --recursive https://github.com/tobspr/shapez.io shapez.io.git
cd shapez.io.git
git checkout -b 1.2.2
(replace 1.2.2 with the version you want to build)yarn
in the root directorycd electron; yarn; cd ..
cd gulp; yarn
const prop = decl.prop.replace(/^-\w+-/, "");
gulp main.standalone
Outputs would be in the subdirectory tmp_standalone_files under the root directory.
After cloning the git repo and checking out the 1.2.2 branch, I tried to build a standalone binary on Linux (tried on Arch Linux, Ubuntu 20.04), but I got an error when running the build. This is what I run: