prash-wghats / Electron-VSCode-Atom-For-FreeBSD

Electron, VSCode, Atom & LightTable port for FreeBSD
96 stars 11 forks source link

How to create the VSCode-freebsd-x64 folder #17

Open GuillaumeBibaut opened 6 years ago

GuillaumeBibaut commented 6 years ago

Hello, I've followed your script to try with vscode 1.23.0, but I can't find anywhere how to create the VSCode-freebsd-x64 folder. Could you please share this too?

prash-wghats commented 6 years ago

The command to build install file is ./node_modules/.bin/gulp vscode-<os>-x64. example for linux ./node_modules/.bin/gulp vscode-linux-x64, will create a vscode-linux-x64 directory in the parent directory (../). But this is not defined for freebsd. The install command downloads the electron binary form the net to build the install directory. What i did was ./node_modules/.bin/gulp vscode-linux-x64, and replaced the linux electron binaries in vscode-linux-x64 directory with freebsd binaries. The proper way is to adapt the vscode javascript install scripts, to use the local freebsd binary directly. build/gulpfile.vscode.js. Needs somebody with javascript knowledge to have a go.

hbowden commented 6 years ago

If I can figure out how to build the binaries on FreeBSD 12 I will gladly send in a pr to update the gulp script.