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: find_discord_linux.go
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -34,10 +34,10 @@ func init() {
34
34
}
35
35
ifsudoUser!="" {
36
36
ifsudoUser=="root" {
37
-
panic("VencordInstaller must not be run as the root user. Please rerun as normal user. Use sudo or doas to run as root.")
37
+
panic("VencordPlusInstaller must not be run as the root user. Please rerun as normal user. Use sudo or doas to run as root.")
38
38
}
39
39
40
-
fmt.Println("VencordInstaller was run with root privileges, actual user is", sudoUser)
40
+
fmt.Println("VencordPlusInstaller was run with root privileges, actual user is", sudoUser)
41
41
fmt.Println("Looking up HOME of", sudoUser)
42
42
43
43
u, err:=user.Lookup(sudoUser)
@@ -48,7 +48,7 @@ func init() {
48
48
_=os.Setenv("HOME", u.HomeDir)
49
49
}
50
50
} elseifos.Getuid() ==0 {
51
-
panic("VencordInstaller was run as root but neither SUDO_USER nor DOAS_USER are set. Please rerun me as a normal user, with sudo/doas, or manually set SUDO_USER to your username")
51
+
panic("VencordPlusInstaller was run as root but neither SUDO_USER nor DOAS_USER are set. Please rerun me as a normal user, with sudo/doas, or manually set SUDO_USER to your username")
"**Github** and **vencord.dev** are the only official places to get Vencord. Any other site claiming to be us is malicious.\n"+
380
-
"If you downloaded from any other source, you should delete / uninstall everything immediately, run a malware scan and change your Discord password.",
379
+
"**GitHub** is the only official place to get Vencord+. Any other site claiming to be Vencord+ is malicious.\n"+
380
+
"If you downloaded Vencord+ from any other source, you should delete / uninstall everything immediately, run a malware scan and change your Discord password.",
381
381
90,
382
382
),
383
383
),
384
384
385
385
g.Dummy(0, 5),
386
386
387
387
g.Style().SetFontSize(30).To(
388
-
g.Label("Please select an install to patch"),
388
+
g.Label("Please select an installation to patch"),
389
389
),
390
390
391
391
&CondWidget{len(discords) ==0, func() g.Widget {
392
-
returng.Label("No Discord installs found. You first need to install Discord.")
392
+
returng.Label("No Discord installations found. You first need to install Discord.")
InfoModal("#openasar-patched", "Successfully Installed OpenAsar", "If Discord is still open, fully close it first. Then start it again and verify OpenAsar installed successfully!"),
523
523
InfoModal("#openasar-unpatched", "Successfully Uninstalled OpenAsar", "If Discord is still open, fully close it first. Then start it again and it should be back to stock!"),
524
-
InfoModal("#invalid-custom-location", "Invalid Location", "The specified location is not a valid Discord install. Make sure you select the base folder."),
524
+
InfoModal("#invalid-custom-location", "Invalid Location", "There is no valid Discord installation at the specified location. Make sure you select the base folder."),
0 commit comments