|
|
|
@ -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
|
|
|
|
|