mkdir for Snap
@@ -90,4 +90,7 @@ parts:
fi
qmake "USE_UPNP=1" "USE_QRCODE=1" "${MF}" OPENSSL_INCLUDE_PATH=/usr/local/ssl/include OPENSSL_LIB_PATH=/usr/local/ssl/lib denarius-qt.pro
OPENSSL_INCLUDE_PATH=/usr/local/ssl/include OPENSSL_LIB_PATH=/usr/local/ssl/lib make -j4
+ sudo mkdir $SNAP/usr/local/bin
+ sudo chmod +x $SNAP/usr/local/bin
+ sudo chmod -R 777 $SNAP/usr/local/bin
sudo cp Denarius $SNAP/usr/local/bin/
