Refactor autoScriptResource to combine cases

This commit is contained in:
CelloSerenity 2026-01-08 17:05:59 -07:00 • committed by GitHub
parent cb5ff5c9f2
commit 66a1daf85e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1308,12 +1308,10 @@ struct HomeView: View {
switch appName {
case "maciOS":
return ("maciOS", "maciOS.js")
case "Amethyst":
return ("Amethyst", "Amethyst.js")
case "Amethyst", "MeloNX":
return ("Amethyst-MeloNX", "Amethyst-MeloNX.js")
case "Geode":
return ("Geode", "Geode.js")
case "MeloNX":
return ("MeloNX", "MeloNX.js")
case "Manic EMU":
return ("manic", "manic.js")
case "UTM", "DolphiniOS":