Skip to content

Commit

Permalink
Terror
Browse files Browse the repository at this point in the history
  • Loading branch information
Vendicated committed Nov 1, 2022
1 parent 51466ba commit 20b3913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion find_discord_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func ParseDiscord(p, _ string) *DiscordInstall {
isPatched, isSystemElectron := false, false

if ExistsFile(resources) { // normal install
isPatched = ExistsFile(app) || ExistsFile(path.Join(resources, "app.asar"))
isPatched = ExistsFile(app) || IsDirectory(path.Join(resources, "app.asar"))
} else if ExistsFile(path.Join(p, "app.asar")) { // System electron doesn't have resources folder
isSystemElectron = true
isPatched = ExistsFile(path.Join(p, "_app.asar.unpacked"))
Expand Down

0 comments on commit 20b3913

Please sign in to comment.