From: Svjatoslav Agejenko Date: Tue, 10 Jun 2025 20:11:53 +0000 (+0300) Subject: Convenient launchers to start, pause and resume Älyverrko CLI X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=ac36a7003b82ec4acdf8a851d6c4ee499db1e3fe;p=alyverkko-cli.git Convenient launchers to start, pause and resume Älyverrko CLI --- diff --git a/install b/install index 188e05b..a79e51d 100755 --- a/install +++ b/install @@ -19,20 +19,8 @@ install_to_opt() { # Function to install the desktop launcher install_desktop_entry() { - local desktop_entry_path="/usr/share/applications/alyverkko-cli.desktop" - - cat < /dev/null -[Desktop Entry] -Type=Application -Terminal=true -Name=Älyverkko CLI -Comment=Runner for artificial neural network service -Icon=/opt/alyverkko-cli/logo.png -Exec=/opt/alyverkko-cli/alyverkko-cli mail -Categories=Development; -EOF - - sudo chmod 644 "$desktop_entry_path" + sudo cp launchers/alyverkko-cli*.desktop /usr/share/applications/ + sudo chmod 644 /usr/share/applications/alyverkko-cli*.desktop } # Function to install systemd service