flutter.mkFlutterApp: fix installing .desktop
Previously this was pulling from $built, which got moved to $out/app, so the glob didn't do anything. Now uses find on $out/app
This commit is contained in:
parent
141644ff03
commit
0bd82b7767
1 changed files with 2 additions and 1 deletions
|
@ -254,9 +254,10 @@ let
|
|||
mkdir -p $out/bin
|
||||
mv $built $out/app
|
||||
|
||||
for f in $built/data/flutter_assets/assets/*.desktop; do
|
||||
for f in $(find $out/app -iname "*.desktop" -type f); do
|
||||
install -D $f $out/share/applications/$(basename $f)
|
||||
done
|
||||
|
||||
for f in $(find $out/app -maxdepth 1 -type f); do
|
||||
ln -s $f $out/bin/$(basename $f)
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue