rxi / lite

A lightweight text editor written in Lua
MIT License
7.42k stars 353 forks source link

executable for Linux #229

Open AS400JPLPC opened 3 years ago

AS400JPLPC commented 3 years ago

change ... else platform="unix" outfile="lite" compiler="gcc" cflags="$cflags -DLUA_USE_POSIX" lflags="$lflags -o $outfile -no-pie" fi

and creat file this bureau open mousepad or nano

[Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Terminal=false Exec=/$HOME/lite/lite Name=lite Icon=$HOME/lite/lite.png Comment= Path=$HOME/lite StartupNotify=false

Thank you for application is super

Tmpod commented 3 years ago

You want a .desktop file? I'm pretty sure that won't be added, since lite isn't distributed with any form of installer that can get you a consistent path for the executable. For example, you suggest it is in the user's home, but I happen to have it under /opt.

Instead of just adding a .desktop file, we should also add some installing script that copies stuff to a fixed place.