diff options
author | Micah Lee <micah@micahflee.com> | 2022-10-09 07:37:44 -0700 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2022-10-09 07:37:44 -0700 |
commit | b80b476a1240169ff078169c2b185423bdf2b127 (patch) | |
tree | d913630caaa297b250e711426120a2d5edbb5bbc | |
parent | 3ac2053804df71cac88b21a9f288f1ce72ac0342 (diff) | |
download | onionshare-b80b476a1240169ff078169c2b185423bdf2b127.tar.gz onionshare-b80b476a1240169ff078169c2b185423bdf2b127.zip |
Snapcraft: Update PYTHONPATH in launcher
-rw-r--r-- | snap/snapcraft.yaml | 1 |
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=":" |