Error Installing Applications with fixed path and scripts

I am trying to snap xdman (X Download Manager) but snapcraft is maybe unable to create a snap because it wont accept the way the app is installed, the app needs to be installed by ./install.sh (script) in a fixed path (/opt), i tried creating opt and installing it there but no luck, so can anyone please guide me how i can package xdman into a snap, properly.

YAML --:

Snap Converted into deb and packaged, the snap is live…

1 Like