0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2025-09-28 01:29:03 +03:00

Add some style fixes for shell scripts

* use `mktemp -d` for temporary files
* use trap to remove temporary files
* fix some shellcheck warnings

Change-Id: Ib73f5a52d7bcd21232e7ef31a815c28a06dcd857
This commit is contained in:
Yury Shvedov
2024-01-30 20:59:19 +03:00
parent 6c24593616
commit 46e9a0e494
3 changed files with 46 additions and 51 deletions

View File

@@ -18,8 +18,7 @@ let
repack = ./../repack.sh;
src = ymExe;
} ''
bash "$repack" -x "$src"
mv ./app "$out"
bash "$repack" -x -o "$out" "$src"
'';
launcher = writeShellApplication {
name = "yandex-music";