Fix component installation.
Add the ability to remove the appindicator3 component if needed.
This commit is contained in:
parent
13d0ed4061
commit
f2be7c2f2d
@ -36,8 +36,8 @@ fi
|
|||||||
sudo chown root:root /etc/melon-vpn/client.cfg
|
sudo chown root:root /etc/melon-vpn/client.cfg
|
||||||
|
|
||||||
# copy more files
|
# copy more files
|
||||||
#sudo cp MelonVPNClient/bin/Release/appindicator3-sharp.dll /usr/lib/melon-vpn/
|
sudo cp MelonVPNClient/bin/Release/appindicator3-sharp.dll /usr/lib/melon-vpn/
|
||||||
# ^ Already installed by mono
|
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/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 /usr/lib/melon-vpn/
|
||||||
sudo cp MelonVPNClient/bin/Release/MelonVPNClient.exe.config /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