aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/app/browser.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/browser.js b/src/app/browser.js
index dda0441..a9a36f9 100644
--- a/src/app/browser.js
+++ b/src/app/browser.js
@@ -134,7 +134,7 @@ ipcRenderer.on("installedmod", (event, modname) => {
function normalize(items) {
let main = (string) => {
- return string.replaceAll(" ", "").replaceAll(".", "").toLowerCase()
+ return string.replaceAll(" ", "").replaceAll(".", "").replaceAll("-", "").replaceAll("_", "").toLowerCase()
}
if (typeof items == "string") {
return main(items)