gui: transition to tray on close, auto-download official installers in setup
This commit is contained in:
+7
-7
@@ -12,7 +12,7 @@
|
||||
|
||||
pkgname=umutray
|
||||
pkgver=0.1.0
|
||||
pkgrel=2
|
||||
pkgrel=4
|
||||
pkgdesc='Tray-based Wine launcher manager for Linux via umu/Proton-GE'
|
||||
arch=('x86_64')
|
||||
url='https://git.aleshym.co/funman300/umutray'
|
||||
@@ -48,13 +48,13 @@ build() {
|
||||
package() {
|
||||
cd "$pkgname"
|
||||
|
||||
# Binary
|
||||
install -Dm755 target/release/umutray "$pkgdir/usr/bin/umutray"
|
||||
# Binary — install to ~/.local/bin for user-local usage
|
||||
install -Dm755 target/release/umutray "${HOME}/.local/bin/umutray"
|
||||
|
||||
# App menu entry (.desktop uses /usr/bin/umutray as the exec path)
|
||||
install -Dm644 umutray.desktop "$pkgdir/usr/share/applications/umutray.desktop"
|
||||
sed -i "s|Exec=umutray|Exec=/usr/bin/umutray|" \
|
||||
"$pkgdir/usr/share/applications/umutray.desktop"
|
||||
# App menu entry for the current user
|
||||
install -Dm644 umutray.desktop "${HOME}/.local/share/applications/umutray.desktop"
|
||||
sed -i "s|Exec=umutray|Exec=${HOME}/.local/bin/umutray|" \
|
||||
"${HOME}/.local/share/applications/umutray.desktop"
|
||||
|
||||
# License
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
|
||||
Reference in New Issue
Block a user