intiface-central: fix hang on splash screen (#523997)

This commit is contained in:
Jo
2026-07-01 07:23:04 +00:00
committed by GitHub
+2 -3
View File
@@ -146,9 +146,8 @@ flutter338.buildFlutterApplication {
ln -s ${buttplug} ../buttplug
'';
# 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'`
extraWrapProgramArgs = "--chdir $out/app/intiface-central";
# without this, only the splash screen will be shown
extraWrapProgramArgs = "--set FRB_DART_LOAD_EXTERNAL_LIBRARY_NATIVE_LIB_DIR $out/app/intiface-central/lib";
postInstall = ''
install -Dm644 $out/app/intiface-central/data/flutter_assets/assets/icons/intiface_central_icon.png $out/share/icons/hicolor/512x512/apps/intiface-central.png