Skip to content

Commit

Permalink
fix: fix incorrect browser detection (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
Azn9 committed Dec 8, 2024
1 parent 10dbb87 commit 59becef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class DiagnoseService : DisposableCoroutineScope {
val discordClientNotRunning = allLines.none { line -> discord.any { exe -> line.startsWith(exe, true) } }
if (discordClientNotRunning) {
val discordBrowser = allLines.any { line ->
browsers.any { browser -> line.startsWith(browser, true) }
browsers.any { browser -> line.startsWith(browser, true) && line.lowercase().contains("discord") }
}
if (discordBrowser) {
return Discord.BROWSER
Expand Down

0 comments on commit 59becef

Please # to comment.