mullvad-vpn: fix openvpn

This commit is contained in:
Dmitriy Kholkin 2023-01-22 03:39:32 +03:00
parent eb4d3bc796
commit 1b3361b71c
No known key found for this signature in database
GPG Key ID: FD266B810DF48DF2

View File

@ -79,6 +79,9 @@ stdenv.mkDerivation rec {
wrapProgram $out/bin/mullvad-vpn --set MULLVAD_DISABLE_UPDATE_NOTIFICATION 1
wrapProgram $out/bin/mullvad-daemon \
--set-default MULLVAD_RESOURCE_DIR "$out/share/mullvad/resources"
sed -i "s|Exec.*$|Exec=$out/bin/mullvad-vpn $U|" $out/share/applications/mullvad-vpn.desktop
runHook postInstall