Skip to content

Instantly share code, notes, and snippets.

@fire
Created February 6, 2022 10:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fire/57d2c1e242983f3d1e04cec304f3da05 to your computer and use it in GitHub Desktop.
Save fire/57d2c1e242983f3d1e04cec304f3da05 to your computer and use it in GitHub Desktop.
#
https://github.com/elixir-desktop/deployment
Get Erlang 24:diode/beta http://github.com/diodechain/
Get Elixir 1.11.4 https://elixir-lang.org/install.html
## Get msys2 https://www.msys2.org/ - And a whole bunch of deps: pacman -Syu pacman -S --noconfirm pacman-mirrors pkg-config pacman -S --noconfirm --needed base-devel autoconf automake make libtool mingw-w64-x86_64-toolchain mingw-w64-x86_64-openssl mingw-w64-x86_64-libtool git
Get nsis https://nsis.sourceforge.io/Main_Page
Get npm & node 12.x from https://nodejs.org/dist/latest-v12.x/
If not merged yet apply this patch on esqlite: https://github.com/blt/port_compiler/pull/69/files
> vim `find -iname pc_port_specs.erl`
> find -iname pc_port_specs.beam -delete
Sometimes libsecp256k_nif.dll is not created in that case copy the libsecp256k_nif.so to libsecp256k_nif.dll > make -C deps/
Compile & Run:
Keep pressing ENTER during the compilation or it gets stuck...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment