If your build is running as root, then you need to add a chmod command. Eg:
# unsquashfs electron-app/out/make/snap/x64/*.snap
# chmod 755 ./squashfs-root/swach/chrome-sandbox
# snapcraft pack ./squashfs-root
If your build is running as root, then you need to add a chmod command. Eg:
# unsquashfs electron-app/out/make/snap/x64/*.snap
# chmod 755 ./squashfs-root/swach/chrome-sandbox
# snapcraft pack ./squashfs-root