Skip to content

Commit bb46ec1

Browse files
authored
Change text and repository links
1 parent 2af30fb commit bb46ec1

9 files changed

Lines changed: 49 additions & 49 deletions

cli.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ func main() {
3434
InitGithubDownloader()
3535
discords = FindDiscords()
3636

37-
var installFlag = flag.Bool("install", false, "Install Vencord on a Discord install")
37+
var installFlag = flag.Bool("install", false, "Install Vencord+ on a Discord installation")
3838
var updateFlag = flag.Bool("reinstall", false, "Reinstall & update Vencord")
39-
var uninstallFlag = flag.Bool("uninstall", false, "Uninstall Vencord from a Discord install")
40-
var installOpenAsar = flag.Bool("install-openasar", false, "Install OpenAsar on a Discord install")
41-
var uninstallOpenAsar = flag.Bool("uninstall-openasar", false, "Uninstall OpenAsar from a Discord install")
42-
var locationFlag = flag.String("location", "", "Select the location of your Discord install")
39+
var uninstallFlag = flag.Bool("uninstall", false, "Uninstall Vencord from a Discord installation")
40+
var installOpenAsar = flag.Bool("install-openasar", false, "Install OpenAsar on a Discord installation")
41+
var uninstallOpenAsar = flag.Bool("uninstall-openasar", false, "Uninstall OpenAsar from a Discord installation")
42+
var locationFlag = flag.String("location", "", "Select the location of your Discord installation")
4343
var branchFlag = flag.String("branch", "", "Select the branch of Discord you want to modify [auto|stable|ptb|canary]")
4444
flag.Parse()
4545

@@ -57,7 +57,7 @@ func main() {
5757
}
5858
}
5959

60-
fmt.Println("Vencord Installer cli", InstallerTag, "("+InstallerGitHash+")")
60+
fmt.Println("Vencord+ Installer CLI", InstallerTag, "("+InstallerGitHash+")")
6161

6262
var err error
6363
if *installFlag {
@@ -103,7 +103,7 @@ func PromptDiscord(action, dir, branch string) *DiscordInstall {
103103
}
104104
}
105105
}
106-
die("No Discord install found. Try manually specifying it with the --dir flag")
106+
die("No Discord installation found. Try manually specifying it with the --dir flag")
107107
}
108108

109109
if branch != "" {
@@ -120,11 +120,11 @@ func PromptDiscord(action, dir, branch string) *DiscordInstall {
120120
if discord := ParseDiscord(dir, branch); discord != nil {
121121
return discord
122122
} else {
123-
die(dir + " is not a valid Discord install")
123+
die(dir + " is not a valid Discord installation")
124124
}
125125
}
126126

127-
fmt.Println("Please choose a Discord install to", action)
127+
fmt.Println("Please choose a Discord installation to", action)
128128

129129
for i, discord := range discords {
130130
install := discord.(*DiscordInstall)
@@ -166,7 +166,7 @@ func InstallLatestBuilds() error {
166166

167167
func HandleScuffedInstall() {
168168
fmt.Println("Hold On!")
169-
fmt.Println("You have a broken Discord Install.")
169+
fmt.Println("You have a broken Discord installation.")
170170
fmt.Println("Please reinstall Discord before proceeding!")
171171
fmt.Println("Otherwise, Vencord will likely not work.")
172172
}

find_discord_darwin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func FindDiscords() []any {
4949
for branch, dirname := range macosNames {
5050
p := "/Applications/" + dirname
5151
if discord := ParseDiscord(p, branch); discord != nil {
52-
fmt.Println("Found Discord Install at", p)
52+
fmt.Println("Found Discord installation at", p)
5353
discords = append(discords, discord)
5454
}
5555
}

find_discord_linux.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ func init() {
3434
}
3535
if sudoUser != "" {
3636
if sudoUser == "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.")
3838
}
3939

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)
4141
fmt.Println("Looking up HOME of", sudoUser)
4242

4343
u, err := user.Lookup(sudoUser)
@@ -48,7 +48,7 @@ func init() {
4848
_ = os.Setenv("HOME", u.HomeDir)
4949
}
5050
} else if os.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")
5252
}
5353
Home = os.Getenv("HOME")
5454

@@ -87,7 +87,7 @@ func ParseDiscord(p, _ string) *DiscordInstall {
8787
isSystemElectron = true
8888
isPatched = ExistsFile(path.Join(p, "_app.asar.unpacked"))
8989
} else {
90-
fmt.Println("Tried to parse invalid Location:", p)
90+
fmt.Println("Tried to parse invalid location:", p)
9191
return nil
9292
}
9393

@@ -120,7 +120,7 @@ func FindDiscords() []any {
120120

121121
discordDir := path.Join(dir, name)
122122
if discord := ParseDiscord(discordDir, ""); discord != nil {
123-
fmt.Println("Found Discord install at ", discordDir)
123+
fmt.Println("Found Discord installation at ", discordDir)
124124
discords = append(discords, discord)
125125
}
126126
}
@@ -137,14 +137,14 @@ func FixOwnership(p string) error {
137137
return nil
138138
}
139139

140-
fmt.Println("Fixing Ownership of", p)
140+
fmt.Println("Fixing ownership of", p)
141141

142142
sudoUser := os.Getenv("SUDO_USER")
143143
if sudoUser == "" {
144144
panic("SUDO_USER was empty. This point should never be reached")
145145
}
146146

147-
fmt.Println("Looking up User", sudoUser)
147+
fmt.Println("Looking up user", sudoUser)
148148
u, err := user.Lookup(sudoUser)
149149
if err != nil {
150150
fmt.Println("Lookup failed:", err)

find_discord_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func FindDiscords() []any {
7777
for branch, dirname := range windowsNames {
7878
p := path.Join(appData, dirname)
7979
if discord := ParseDiscord(p, branch); discord != nil {
80-
fmt.Println("Found Discord install at ", p)
80+
fmt.Println("Found Discord installation at ", p)
8181
discords = append(discords, discord)
8282
}
8383
}

github_downloader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func InitGithubDownloader() {
122122
//goland:noinspection GoUnhandledErrorResult
123123
defer f.Close()
124124

125-
fmt.Println("Found existing Vencord Install. Checking for hash...")
125+
fmt.Println("Found existing Vencord installation. Checking for hash...")
126126
scanner := bufio.NewScanner(f)
127127
if scanner.Scan() {
128128
line := scanner.Text()

gui.go

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func main() {
6767
g.Update()
6868
}()
6969

70-
win = g.NewMasterWindow("Vencord(Plus) Installer", 1200, 800, 0)
70+
win = g.NewMasterWindow("Vencord+ Installer", 1200, 800, 0)
7171

7272
icon, _, err := image.Decode(bytes.NewReader(iconBytes))
7373
if err != nil {
@@ -113,7 +113,7 @@ func InstallLatestBuilds() (err error) {
113113

114114
err = installLatestBuilds()
115115
if err != nil {
116-
ShowModal("Uh Oh!", "Failed to install the latest Vencord builds from GitHub:\n"+err.Error())
116+
ShowModal("Uh Oh!", "Failed to install the latest Vencord+ builds from GitHub:\n"+err.Error())
117117
}
118118
return
119119
}
@@ -376,20 +376,20 @@ func renderInstaller() g.Widget {
376376
g.Style().SetFontSize(20).To(
377377
renderErrorCard(
378378
DiscordYellow,
379-
"**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.",
381381
90,
382382
),
383383
),
384384

385385
g.Dummy(0, 5),
386386

387387
g.Style().SetFontSize(30).To(
388-
g.Label("Please select an install to patch"),
388+
g.Label("Please select an installation to patch"),
389389
),
390390

391391
&CondWidget{len(discords) == 0, func() g.Widget {
392-
return g.Label("No Discord installs found. You first need to install Discord.")
392+
return g.Label("No Discord installations found. You first need to install Discord.")
393393
}, nil},
394394

395395
g.Style().SetFontSize(20).To(
@@ -466,7 +466,7 @@ func renderInstaller() g.Widget {
466466
g.Button("Install").
467467
OnClick(handlePatch).
468468
Size((w-40)/4, 50),
469-
Tooltip("Patch the selected Discord Install"),
469+
Tooltip("Patch the selected Discord installation"),
470470
),
471471
g.Style().
472472
SetColor(g.StyleColorButton, DiscordBlue).
@@ -492,7 +492,7 @@ func renderInstaller() g.Widget {
492492
g.Button("Uninstall").
493493
OnClick(handleUnpatch).
494494
Size((w-40)/4, 50),
495-
Tooltip("Unpatch the selected Discord Install"),
495+
Tooltip("Unpatch the selected Discord installation"),
496496
),
497497
g.Style().
498498
SetColor(g.StyleColorButton, Ternary(isOpenAsar, DiscordRed, DiscordGreen)).
@@ -506,22 +506,22 @@ func renderInstaller() g.Widget {
506506
),
507507

508508
InfoModal("#patched", "Successfully Patched", "If Discord is still open, fully close it first.\n"+
509-
"Then, start it and verify Vencord installed successfully by looking for its category in Discord Settings"),
509+
"Then, start it and verify Vencord installed successfully by looking for its category in your Discord client's settings."),
510510
InfoModal("#unpatched", "Successfully Unpatched", "If Discord is still open, fully close it first. Then start it again, it should be back to stock!"),
511-
InfoModal("#scuffed-install", "Hold On!", "You have a broken Discord Install.\n"+
511+
InfoModal("#scuffed-install", "Hold On!", "You have a broken Discord installation.\n"+
512512
"Sometimes Discord decides to install to the wrong location for some reason!\n"+
513513
"You need to fix this before patching, otherwise Vencord will likely not work.\n\n"+
514-
"Use the below button to jump there and delete any folder called Discord or Squirrel.\n"+
515-
"If the folder is now empty, feel free to go back a step and delete that folder too.\n"+
516-
"Then see if Discord still starts. If not, reinstall it"),
514+
"Use the button below to jump there and delete any folder called Discord or Squirrel.\n"+
515+
"When the folder is empty, feel free to go back a step and delete that folder too.\n"+
516+
"Now see if Discord still starts. If not, reinstall it"),
517517
RawInfoModal("#openasar-confirm", "OpenAsar", "OpenAsar is an open-source alternative of Discord desktop's app.asar.\n"+
518518
"Vencord is in no way affiliated with OpenAsar.\n"+
519519
"You're installing OpenAsar at your own risk. If you run into issues with OpenAsar,\n"+
520-
"no support will be provided, join the OpenAsar Server instead!\n\n"+
520+
"no support will be provided. Join the OpenAsar Discord server instead!\n\n"+
521521
"To install OpenAsar, press Accept and click 'Install OpenAsar' again.", true),
522522
InfoModal("#openasar-patched", "Successfully Installed OpenAsar", "If Discord is still open, fully close it first. Then start it again and verify OpenAsar installed successfully!"),
523523
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."),
525525
InfoModal("#modal"+strconv.Itoa(modalId), modalTitle, modalMessage),
526526
}
527527

@@ -566,7 +566,7 @@ func loop() {
566566
Layout(
567567
g.Align(g.AlignCenter).To(
568568
g.Style().SetFontSize(40).To(
569-
g.Label("Vencord Installer"),
569+
g.Label("Vencord+ Installer"),
570570
),
571571
),
572572

@@ -595,15 +595,15 @@ func loop() {
595595
if IsDevInstall {
596596
return g.Label("Not updating Vencord due to being in DevMode")
597597
}
598-
return g.Label("Latest Vencord Version: " + LatestHash)
598+
return g.Label("Latest Vencord+ version: " + LatestHash)
599599
}, func() g.Widget {
600-
return renderErrorCard(DiscordRed, "Failed to fetch Info from GitHub: "+GithubError.Error(), 40)
600+
return renderErrorCard(DiscordRed, "Failed to fetch information from GitHub: "+GithubError.Error(), 40)
601601
},
602602
},
603603
&CondWidget{
604604
IsInstallerOutdated,
605605
func() g.Widget {
606-
return renderErrorCard(DiscordYellow, "This Installer is outdated!"+GetInstallerDownloadMarkdown(), 40)
606+
return renderErrorCard(DiscordYellow, "This installer is outdated!"+GetInstallerDownloadMarkdown(), 40)
607607
},
608608
nil,
609609
},

install.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ $DOWNLOAD_CLI = "https://github.com/RobinRMC/VencordPlusInstaller/releases/lates
22
$DOWNLOAD_GUI = "https://github.com/RobinRMC/VencordPlusInstaller/releases/latest/download/VencordInstaller.exe"
33

44
if ([Environment]::Is64BitOperatingSystem -and [System.Environment]::OSVersion.Version.Major -ge 10) {
5-
Write-Output "=============================="
6-
Write-Output "| Vencord Installer |"
7-
Write-Output "=============================="
5+
Write-Output "==============================="
6+
Write-Output "| Vencord+ Installer |"
7+
Write-Output "==============================="
88
Write-Output ""
99
Write-Output "Which installer version do you want to use?"
1010
Write-Output "1) Graphical - More user friendly but may not work on old/low-end GPUs"
@@ -36,7 +36,7 @@ Write-Output ""
3636

3737
if ($choice -eq 2) {
3838
Write-Output "What do you want to do?"
39-
Write-Output "1) Install Vencord"
39+
Write-Output "1) Install Vencord+"
4040
Write-Output "2) Install OpenAsar"
4141
Write-Output "3) Uninstall Vencord"
4242
Write-Output "4) Uninstall OpenAsar"

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ curl -sS https://github.com/RobinRMC/VencordPlusInstaller/releases/latest/downlo
2828
chmod +x "$outfile"
2929

3030
echo
31-
echo "Now running VencordInstaller"
31+
echo "Now running VencordPlusInstaller"
3232
echo "Do you want to run as root? [Y|n]"
3333
echo "This is necessary if Discord is in a root owned location like /usr/share or /opt"
3434
printf "> "
@@ -44,7 +44,7 @@ if [ -z "$opt" ] || [ "$opt" = y ] || [ "$opt" = yes ]; then
4444
echo "Running with doas"
4545
doas env "$@" "$outfile"
4646
else
47-
echo "Neither sudo nor doas were found. Please install either of them to proceed."
47+
echo "Neither sudo nor doas was found. Please install either of them to proceed."
4848
fi
4949
else
5050
echo "Running unprivileged"

self_updater.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
var IsInstallerOutdated = false
1515

1616
func CheckSelfUpdate() {
17-
fmt.Println("Checking for Installer Updates...")
17+
fmt.Println("Checking for installer updates...")
1818

1919
res, err := GetGithubRelease(InstallerReleaseUrl, InstallerReleaseUrlFallback)
2020
if err == nil {
@@ -25,9 +25,9 @@ func CheckSelfUpdate() {
2525
func GetInstallerDownloadLink() string {
2626
switch runtime.GOOS {
2727
case "windows":
28-
return "https://github.com/Vencord/Installer/releases/latest/download/VencordInstaller.exe"
28+
return "https://github.com/RobinRMC/VencordPlusInstaller/releases/latest/download/VencordInstaller.exe"
2929
case "darwin":
30-
return "https://github.com/Vencord/Installer/releases/latest/download/VencordInstaller.MacOS.zip"
30+
return "https://github.com/RobinRMC/VencordPlusInstaller/releases/latest/download/VencordInstaller.MacOS.zip"
3131
default:
3232
return ""
3333
}
@@ -38,5 +38,5 @@ func GetInstallerDownloadMarkdown() string {
3838
if link == "" {
3939
return ""
4040
}
41-
return " [Download the latest Installer](" + link + ")"
41+
return " [Download the latest installer](" + link + ")"
4242
}

0 commit comments

Comments
 (0)