diff options
author | AsukaMinato | 2023-10-21 04:00:02 +0900 |
---|---|---|
committer | AsukaMinato | 2023-10-21 04:00:02 +0900 |
commit | 6ce29b69000416bbdd1a9a22a567006061c23705 (patch) | |
tree | dc2e20e78fc2deeecc141262f2d35232cbb62f8f | |
parent | 371494ed0d6ea7ca3622247970205b9c4d203935 (diff) | |
download | aur-6ce29b69000416bbdd1a9a22a567006061c23705.tar.gz |
exec
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -38,7 +38,9 @@ prepare() { package() { install -d $pkgdir/opt/$pkgname/ cp -av app $pkgdir/opt/$pkgname/ - echo -e "#!/bin/sh\nelectron11 /opt/$pkgname/app" | install -Dm755 /dev/stdin $pkgdir/usr/bin/$pkgname + printf "#!/bin/sh +exec electron11 /opt/$pkgname/app \"\$@\" +" | install -Dm755 /dev/stdin $pkgdir/usr/bin/$pkgname install -Dm644 $pkgname.desktop -t "$pkgdir"/usr/share/applications/ find . -type f -name "icon_about_win.png" -exec install -Dm644 {} "$pkgdir"/usr/share/pixmaps/$pkgname.png \; } |