From ac36a7003b82ec4acdf8a851d6c4ee499db1e3fe Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Tue, 10 Jun 2025 23:11:53 +0300 Subject: [PATCH] =?utf8?q?Convenient=20launchers=20to=20start,=20pause=20a?= =?utf8?q?nd=20resume=20=C3=84lyverrko=20CLI?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- install | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) 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 -- 2.20.1