aboutsummaryrefslogtreecommitdiff
path: root/snap
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2022-10-09 07:37:44 -0700
committerMicah Lee <micah@micahflee.com>2022-10-09 07:37:44 -0700
commitb80b476a1240169ff078169c2b185423bdf2b127 (patch)
treed913630caaa297b250e711426120a2d5edbb5bbc /snap
parent3ac2053804df71cac88b21a9f288f1ce72ac0342 (diff)
downloadonionshare-b80b476a1240169ff078169c2b185423bdf2b127.tar.gz
onionshare-b80b476a1240169ff078169c2b185423bdf2b127.zip
Snapcraft: Update PYTHONPATH in launcher
Diffstat (limited to 'snap')
-rw-r--r--snap/snapcraft.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index c8eb70b3..7ad8e7af 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -49,6 +49,7 @@ parts:
cat > $SNAPCRAFT_PART_INSTALL/bin/launcher-setup << EOF
#!/bin/sh
export PATH=\$SNAP/bin:\$SNAP/usr/bin:\$SNAP/usr/local/bin:\$PATH
+ export PYTHONPATH=\$SNAP/lib/python3.8/site-packages:\$SNAP/usr/lib/python3/dist-packages
export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:\$SNAP/usr/local/lib
ORIG_IFS=\$IFS
IFS=":"