intiface-central: use $pname for app dir
This commit is contained in:
parent
15c9e0e39d
commit
734f9c7059
@ -50,11 +50,13 @@ flutterPackages.v3_19.buildFlutterApplication rec {
|
|||||||
|
|
||||||
# without this, only the splash screen will be shown and the logs will contain the
|
# without this, only the splash screen will be shown and the logs will contain the
|
||||||
# line `Failed to load dynamic library 'lib/libintiface_engine_flutter_bridge.so'`
|
# line `Failed to load dynamic library 'lib/libintiface_engine_flutter_bridge.so'`
|
||||||
extraWrapProgramArgs = "--chdir $out/app";
|
# Environmental variables don't quite eval outside of hooks so use pname and
|
||||||
|
# version directly.
|
||||||
|
extraWrapProgramArgs = "--chdir $out/app/${pname}";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/share/pixmaps
|
mkdir -p $out/share/pixmaps
|
||||||
cp $out/app/data/flutter_assets/assets/icons/intiface_central_icon.png $out/share/pixmaps/intiface-central.png
|
cp $out/app/$pname/data/flutter_assets/assets/icons/intiface_central_icon.png $out/share/pixmaps/intiface-central.png
|
||||||
'';
|
'';
|
||||||
|
|
||||||
desktopItems = [
|
desktopItems = [
|
||||||
|
Loading…
Reference in New Issue
Block a user