Merge pull request #4 from Captain-ALM/master
Fix Status + Install components
This commit is contained in:
commit
97e29b19ab
@ -103,12 +103,7 @@ namespace MelonVPNCore
|
||||
Client.SendDataMessage(DataMessage.Online, true);
|
||||
currentVpnProcess.EnableRaisingEvents = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
shouldBeRunning = false;
|
||||
Client.SendDataMessage(DataMessage.Offline, true);
|
||||
Client.SendCustomMessage(Messages.ClientListEmptyMsg, true);
|
||||
}
|
||||
else { throw new InvalidOperationException("Client crashed!"); }
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
@ -37,6 +37,7 @@ sudo chown root:root /etc/melon-vpn/client.cfg
|
||||
|
||||
# copy more files
|
||||
sudo cp MelonVPNClient/bin/Release/appindicator3-sharp.dll /usr/lib/melon-vpn/
|
||||
echo "[warning] appindicator3-sharp.dll has been copied as a component, if appindicator was installed through software run ./remove-appindicator3-component"
|
||||
sudo cp MelonVPNClient/bin/Release/libnotify.net.dll /usr/lib/melon-vpn/
|
||||
sudo cp MelonVPNClient/bin/Release/MelonVPNClient.exe /usr/lib/melon-vpn/
|
||||
sudo cp MelonVPNClient/bin/Release/MelonVPNClient.exe.config /usr/lib/melon-vpn/
|
||||
|
3
remove-appindicator3-component
Executable file
3
remove-appindicator3-component
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
echo "[info] Removing appindicator3-sharp.dll component"
|
||||
sudo rm -f /usr/lib/melon-vpn/appindicator3-sharp.dll
|
Loading…
Reference in New Issue
Block a user