diff options
author | Nriver | 2023-01-09 16:53:32 +0800 |
---|---|---|
committer | Nriver | 2023-01-09 16:53:32 +0800 |
commit | 863f30bbed1e2b6697252a1bfaf4e61ca8f07777 (patch) | |
tree | debaef217c4b4ba01052d698abb40b934568b9fd | |
parent | bd3e79d43107ba40507199ee245383cdd2479b1a (diff) | |
download | aur-863f30bbed1e2b6697252a1bfaf4e61ca8f07777.tar.gz |
fix desktop shortcut
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = trilium-cn pkgdesc = Trilium Notes 中文版 pkgver = 0.57.5_20221216 - pkgrel = 2 + pkgrel = 3 url = https://github.com/Nriver/trilium-translation arch = x86_64 license = AGPL3 @@ -1,7 +1,7 @@ # Maintainer: Nriver <6752679+Nriver@users.noreply.github.com> pkgname="trilium-cn" pkgver=0.57.5_20221216 -pkgrel=2 +pkgrel=3 pkgdesc="Trilium Notes 中文版" arch=('x86_64') url="https://github.com/Nriver/trilium-translation" @@ -19,7 +19,8 @@ package() { mv trilium-linux-x64/* "$pkgdir/opt/$pkgname" # Write command and make executable echo -e "#!/bin/sh -/opt/$pkgname/trilium" > "$pkgdir/usr/bin/trilium-cn" +cd /opt/opt/$pkgname/ +./trilium" > "$pkgdir/usr/bin/trilium-cn" # Create .desktop file echo -e "[Desktop Entry] Name=Trilium 中文版 |