GVFS SMB share in AppImages

I build app, which uses gvfs for samba share mount. Application connects to gvfs successfully, but can’t connect to samba share.
This application (non appImage) connects to samba share successfully What can I do to fix this problem?
My build script for pkg2appimage:

app: MyApp
binpatch: true
union: true
  dist: stretch
    - deb http://mirror.yandex.ru/debian/ stretch main
    - /home/user/app/appRun.deb
    - liburiparser1
    - libboost-system1.62.0
    - libboost-regex1.62.0

  - wget -c -O App.ico http://myapp.com/App.ico
  - convert App.ico app.png
  - mv app-0.png app.png
  - cp -r opt/userApp/appRun/bin/* usr/bin/ 
  - mkdir usr/scripts/
  - cp -r opt/userApp/lib/* usr/scripts/
  - sed -i 's_/opt/userApp/appRun/bin/_ _g' usr/bin/run-App.sh
  - mv ./usr/lib/x86_64-linux-gnu/samba/* ./usr/lib/x86_64-linux-gnu/
  - cat > App.desktop <<\EOF
  - [Desktop Entry]
  - Type=Application
  - Terminal=true
  - Name=app
  - Icon=app
  - Path=opt/userApp/appRun/bin/
  - Exec=opt/userApp/appRun/bin/run-App.sh
  - Categories=AudioVideo
  - EOF

The reason was that in appImage was installed libglib2.0-0 deb package and it broken my app.
I added to my local excludedeblist this package and all work good.

1 Like