mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
expidus.file-manager: use $pname for app dir
This commit is contained in:
parent
8b71097c32
commit
c53017ddcb
@ -23,16 +23,16 @@ flutter.buildFlutterApplication rec {
|
||||
|
||||
postInstall = ''
|
||||
rm $out/bin/file_manager
|
||||
ln -s $out/app/file_manager $out/bin/expidus-file-manager
|
||||
ln -s $out/app/$pname/file_manager $out/bin/expidus-file-manager
|
||||
|
||||
mkdir -p $out/share/applications
|
||||
mv $out/app/data/com.expidusos.file_manager.desktop $out/share/applications
|
||||
mv $out/app/$pname/data/com.expidusos.file_manager.desktop $out/share/applications
|
||||
|
||||
mkdir -p $out/share/icons
|
||||
mv $out/app/data/com.expidusos.file_manager.png $out/share/icons
|
||||
mv $out/app/$pname/data/com.expidusos.file_manager.png $out/share/icons
|
||||
|
||||
mkdir -p $out/share/metainfo
|
||||
mv $out/app/data/com.expidusos.file_manager.metainfo.xml $out/share/metainfo
|
||||
mv $out/app/$pname/data/com.expidusos.file_manager.metainfo.xml $out/share/metainfo
|
||||
|
||||
substituteInPlace "$out/share/applications/com.expidusos.file_manager.desktop" \
|
||||
--replace "Exec=file_manager" "Exec=$out/bin/expidus-file-manager" \
|
||||
|
Loading…
Reference in New Issue
Block a user