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
|
@ -254,9 +254,10 @@ let
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
mv $built $out/app
|
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)
|
install -D $f $out/share/applications/$(basename $f)
|
||||||
done
|
done
|
||||||
|
|
||||||
for f in $(find $out/app -maxdepth 1 -type f); do
|
for f in $(find $out/app -maxdepth 1 -type f); do
|
||||||
ln -s $f $out/bin/$(basename $f)
|
ln -s $f $out/bin/$(basename $f)
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue
Block a user