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
ingredients:
dist: stretch
sources:
- deb http://mirror.yandex.ru/debian/ stretch main
debs:
- /home/user/app/appRun.deb
packages:
- liburiparser1
- libboost-system1.62.0
- libboost-regex1.62.0
script:
- 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