You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: db/#LeagueClient.lwdb
+13-3Lines changed: 13 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,16 @@ final_check() {
21
21
fi
22
22
}
23
23
24
+
25
+
helper_pkexec() {
26
+
if [ "$ENABLE_HOSTEXEC"== 1 ]
27
+
then
28
+
hostexec pkexec sh -c "$1"||return 1
29
+
else
30
+
pkexec sh -c "$1"||return 1
31
+
fi
32
+
}
33
+
24
34
syscall_check() {
25
35
# If abi.vsyscall32=0 is already set, no need to do anything
26
36
if [ "$(cat /proc/sys/abi/vsyscall32)"-eq 0 ]
@@ -31,7 +41,7 @@ syscall_check() {
31
41
then
32
42
if dialog --question --text="It looks like you already configured your system to work with League anticheat, and saved the setting to persist across reboots. However, for some reason the persistence part did not work.\n\nFor now, would you like to enable the setting again until the next reboot?"
dialog --info --no-wrap --text="To change the setting (a kernel parameter) until next boot, run:\n\nsudo sh -c 'sysctl -w abi.vsyscall32=0'\n\nTo persist the setting between reboots, run:\n\nsudo sh -c 'echo \"abi.vsyscall32 = 0\" >> /etc/sysctl.conf && sysctl -p'"
print_info notify "Logging server changed in /etc/hosts!"
63
72
else
64
73
print_info notify "Logging servers are already blocked. Skip."
65
74
fi
66
75
fi
67
-
if [ -z"$(grep "Optional Unity proxy" /etc/hosts)" ]
76
+
if [ !-n"$(grep "Optional Unity proxy" /etc/hosts)" ]
68
77
then
69
78
if print_question "Blocking common Unity proxy/cdn servers in /etc/hosts\nIf issues arise in other games consider commenting a few lines to check what makes the difference.\n\n0.0.0.0 prd-lender.cdp.internal.unity3d.com\n0.0.0.0 thind-prd-knob.data.ie.unity3d.com\n0.0.0.0 thind-gke-usc.prd.data.corp.unity3d.com\n0.0.0.0 cdp.cloud.unity3d.com\n0.0.0.0 remote-config-proxy-prd.uca.cloud.unity3d.com\n\nBlock Unity proxy/cdn servers?"
0 commit comments