summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/launchers
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/vpn/launchers')
-rw-r--r--src/leap/bitmask/vpn/launchers/darwin.py15
-rw-r--r--src/leap/bitmask/vpn/launchers/linux.py15
2 files changed, 0 insertions, 30 deletions
diff --git a/src/leap/bitmask/vpn/launchers/darwin.py b/src/leap/bitmask/vpn/launchers/darwin.py
index 9ae6405..3d77e18 100644
--- a/src/leap/bitmask/vpn/launchers/darwin.py
+++ b/src/leap/bitmask/vpn/launchers/darwin.py
@@ -182,18 +182,3 @@ class DarwinVPNLauncher(VPNLauncher):
command.extend(['--setenv', "LEAPUSER", getpass.getuser()])
return command
-
- @classmethod
- def get_vpn_env(kls):
- """
- Returns a dictionary with the custom env for the platform.
- This is mainly used for setting LD_LIBRARY_PATH to the correct
- path when distributing a standalone client
-
- :rtype: dict
- """
- ld_library_path = os.path.join(get_path_prefix(), "..", "lib")
- ld_library_path.encode(sys.getfilesystemencoding())
- return {
- "DYLD_LIBRARY_PATH": ld_library_path
- }
diff --git a/src/leap/bitmask/vpn/launchers/linux.py b/src/leap/bitmask/vpn/launchers/linux.py
index f8bb8ed..5852d1e 100644
--- a/src/leap/bitmask/vpn/launchers/linux.py
+++ b/src/leap/bitmask/vpn/launchers/linux.py
@@ -153,18 +153,3 @@ class LinuxVPNLauncher(VPNLauncher):
cmd += 'chmod 744 "%s"\n' % (openvpn_bin_path, )
return cmd
-
- @classmethod
- def get_vpn_env(kls):
- """
- Returns a dictionary with the custom env for the platform.
- This is mainly used for setting LD_LIBRARY_PATH to the correct
- path when distributing a standalone client
-
- :rtype: dict
- """
- ld_library_path = os.path.join(get_path_prefix(), "..", "lib")
- ld_library_path.encode(sys.getfilesystemencoding())
- return {
- "LD_LIBRARY_PATH": ld_library_path
- }