Snap doesn't have 'source' so use '.' instead

This commit is contained in:
Micah Lee 2022-10-07 15:22:55 -07:00
parent 0a27b02f83
commit 53ccf4bcfb
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -62,13 +62,13 @@ parts:
cat > $SNAPCRAFT_PART_INSTALL/bin/onionshare-launcher << EOF
#!/bin/sh
source \$SNAP/bin/launcher-setup
. \$SNAP/bin/launcher-setup
onionshare \$@
EOF
cat > $SNAPCRAFT_PART_INSTALL/bin/onionshare-cli-launcher << EOF
#!/bin/sh
source \$SNAP/bin/launcher-setup
. \$SNAP/bin/launcher-setup
onionshare-cli \$@
EOF