File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ def _fetch_releases() -> List[Tuple[str, str]]:
71
71
72
72
conn .request (
73
73
"GET" ,
74
- "/repos/Open-Wine-Components/umu-Proton /releases" ,
74
+ "/repos/Open-Wine-Components/umu-proton /releases" ,
75
75
headers = {
76
76
"Accept" : "application/vnd.github+json" ,
77
77
"X-GitHub-Api-Version" : "2022-11-28" ,
@@ -97,7 +97,7 @@ def _fetch_releases() -> List[Tuple[str, str]]:
97
97
asset ["name" ].endswith ("sum" )
98
98
or (
99
99
asset ["name" ].endswith ("tar.gz" )
100
- and asset ["name" ].startswith ("umu-Proton" )
100
+ and asset ["name" ].startswith (( "umu-proton" , "ULWGL- Proton") )
101
101
)
102
102
)
103
103
and "browser_download_url" in asset
@@ -111,6 +111,8 @@ def _fetch_releases() -> List[Tuple[str, str]]:
111
111
break
112
112
break
113
113
conn .close ()
114
+ if len (files ) != 2 :
115
+ raise RuntimeError ("Failed to get complete information for Proton release" )
114
116
115
117
return files
116
118
You can’t perform that action at this time.
0 commit comments