Skip to content

Commit

Permalink
[Fix] Hide UMU-Latest from dropdown menu (#3903)
Browse files Browse the repository at this point in the history
compatibility_layers: hide UMU-Latest link from wine version dropdown menu
  • Loading branch information
R1kaB3rN authored Aug 6, 2024
1 parent 9a4d7a2 commit b96e859
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/backend/utils/compatibility_layers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ export async function getLinuxWineSet(
protonPaths.forEach((path) => {
if (existsSync(path)) {
readdirSync(path).forEach((version) => {
// Only relevant to Lutris
if (version.startsWith('UMU-Latest')) {
return
}
const protonBin = join(path, version, 'proton')
// check if bin exists to avoid false positives
if (existsSync(protonBin)) {
Expand Down

0 comments on commit b96e859

Please sign in to comment.