Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/org/p2pvpn/gui/AppIndicatorTrayIcon.java b/src/org/p2pvpn/gui/AppIndicatorTrayIcon.java
- index 73b9e61..b5fa23f 100644
- --- a/src/org/p2pvpn/gui/AppIndicatorTrayIcon.java
- +++ b/src/org/p2pvpn/gui/AppIndicatorTrayIcon.java
- @@ -59,6 +59,7 @@ public final class AppIndicatorTrayIcon extends TrayIcon {
- libname = "clib/libAppIndicatorUnknown.so";
- break;
- }
- + libname = "/usr/share/p2pvpn/" + libname;
- File file = new File(libname);
- if (file.exists()) {
- System.load(file.getCanonicalPath());
- diff --git a/src/org/p2pvpn/tuntap/TunTapLinux.java b/src/org/p2pvpn/tuntap/TunTapLinux.java
- index e361fbc..a98f6cb 100644
- --- a/src/org/p2pvpn/tuntap/TunTapLinux.java
- +++ b/src/org/p2pvpn/tuntap/TunTapLinux.java
- @@ -49,6 +49,7 @@ public class TunTapLinux extends TunTap {
- libname = "clib/libTunTapLinuxUnknown.so";
- break;
- }
- + libname = "/usr/share/p2pvpn/" + libname;
- loadLib(libname);
- } catch (Throwable e) {
- Logger.getLogger("").log(Level.SEVERE, "Could not load tap driver library", e);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement