diff --git a/bin/kuso.desktop b/bin/kuso.desktop index a329091..c3ea289 100644 --- a/bin/kuso.desktop +++ b/bin/kuso.desktop @@ -4,16 +4,12 @@ Encoding=UTF-8 Name=Kuso IDE GenericName=Development Environment Comment=GNU/Emacs based development IDE -MimeType=text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; -Exec= -Icon=accessories-calculator -Terminal=false -Type=Application +MimeType=text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;text/x-script.phyton;application/x-javascript;application/x-pointplus; StartupNotify=true -Categories=Development;IDE; -Exec=$HOME/.kuso.d/kuso %F +Categories=GNOME;Development;IDE; +Exec=--HOME--/.kuso.d/kuso %F TryExec=kuso -Icon=$HOME/.kuso.d/icon.svg +Icon=--HOME--/.kuso.d/icon.svg Type=Application Terminal=false diff --git a/install.sh b/install.sh index 284ab4f..a1df3e9 100755 --- a/install.sh +++ b/install.sh @@ -60,6 +60,7 @@ if [ "$standalone" == "y" ] then cp bin/kuso $repo cp bin/kuso.desktop $HOME/.local/share/applications/ + sed "s,--HOME--,$HOME,mg" -i $HOME/.local/share/applications/kuso.desktop cp images/icon.svg $repo fi @@ -69,5 +70,8 @@ sed "s,--WORKSPACE--,$workspace,mg" -i $dotemacs sed "s,--ADDR--,$addr,mg" -i $dotemacs sed "s,--KUSOHOME--,$kusohome,mg" -i $dotemacs +echo "Copy the below code in your initial shell script:" +echo +echo "export PATH=\$PATH:$repo" echo -e "\nInstallation finished." echo "Restart the GNU/Emacs and make sure that all the requirements met." \ No newline at end of file