Skip to content

Commit 5c5e0fc

Browse files
authored
[Fix] Filter out -LoL build when installing wine at boot (#3512)
Filter out -LoL build when installing wine at boot
1 parent b7b736b commit 5c5e0fc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/backend/utils.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,10 @@ export async function downloadDefaultWine() {
858858
// use Wine-GE type if on Linux and Wine-Crossover if on Mac
859859
const release = availableWine.filter((version) => {
860860
if (isLinux) {
861-
return version.version.includes('Wine-GE-Proton')
861+
return (
862+
version.version.includes('Wine-GE-Proton') &&
863+
!version.version.endsWith('-LoL')
864+
)
862865
} else if (isMac) {
863866
return version.version.includes('Wine-Crossover')
864867
}

0 commit comments

Comments
 (0)