Bugfix: Desktop File Erstellung
This commit is contained in:
parent
3f73b8594d
commit
e7f61e9120
@ -67,9 +67,10 @@ getLatest() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
createDesktop() {
|
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]
|
[Desktop Entry]
|
||||||
Encoding=UTF-8
|
Encoding=UTF-8
|
||||||
Name=Logseq
|
Name=Logseq
|
||||||
|
Loading…
Reference in New Issue
Block a user