Bugfix: Desktop File Erstellung

This commit is contained in:
Tim Peters 2022-08-14 22:46:38 +02:00
parent 3f73b8594d
commit e7f61e9120

View File

@ -67,9 +67,10 @@ getLatest() {
}
createDesktop() {
wget https://raw.githubusercontent.com/logseq/logseq/master/resources/icons/logseq.png -qO ${HOME}/.local/share/applications/logseq.png
local FILE_PNG=${HOME}/.local/share/applications/logseq.png
[ -e $FILE_PNG ] || wget https://raw.githubusercontent.com/logseq/logseq/master/resources/icons/logseq.png -qO $FILE_PNG
cat >> ~/.local/share/applications/logseq.desktop <<-EOF
cat > ~/.local/share/applications/logseq.desktop <<-EOF
[Desktop Entry]
Encoding=UTF-8
Name=Logseq