tsoding / ded

Dramatic EDitor
MIT License
579 stars 76 forks source link

sh script to compile editor (with F3 capability) in windows executable #48

Closed BillKek closed 1 year ago

BillKek commented 1 year ago

Here is a script to compile Editor in windows executable. Runs in the shell "mingw64.exe" from the MSYS2 package. The resulting life.exe is 6 MB in size.

manual for msys2 in windows

Run mingw64.exe after msys2 installation. Add packaged into it: pacman -S git base-devel mingw-w64-x86_64-gcc mingw-w64-x86_64-glew mingw-w64-x86_64-mesa mingw-w64-x86_64-SDL2 mingw-w64-x86_64-pkgconf mingw-w64-x86_64-freetype Change dir by cd "path_copypasted_from_explorer_without_final_slash" Run script ./build_msys2_mingw64.sh. The resulting life.exe is 6 MB in size. It runs separately (static) and allows to print rainbow letters. Press F3 for directory browsing.

rexim commented 1 year ago

@BillKek sure, why not. Thank you for the contribution!