diff --git a/build.sh b/build.sh index 4854bbd..16dbc02 100755 --- a/build.sh +++ b/build.sh @@ -58,6 +58,10 @@ else tar -xvz --strip 1 -C debian/usr/lib/nw.js -f $URL fi +chmod a+x debian/usr/lib/nw.js/nw +chown -R root:root debian/usr/lib/nw.js +chown -R root:root debian/usr/bin/nwjs + echo "Packaging deb file" dpkg-deb -b debian "out/$FILENAME"