Skip to content

Commit 4db5365

Browse files
authored
Add more latest runners (#786)
2 parents b041ac9 + fed03c8 commit 4db5365

File tree

3 files changed

+26
-14
lines changed

3 files changed

+26
-14
lines changed

data/com.vysp3r.ProtonPlus.metainfo.xml.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@
9797
<description>
9898
<ul>
9999
<li>✨ Added DW-Proton Latest</li>
100+
<li>✨ Added Proton-Sarek Latest</li>
101+
<li>✨ Added Proton-Sarek (Async) Latest</li>
102+
<li>✨ Added Proton-EM Latest</li>
103+
<li>✨ Added Proton-GE RTSP Latest</li>
100104
<li>🐛 Fixed "Games" tab runners not refreshing when installing/removing a runner</li>
101105
</ul>
102106
</description>

data/runners.json

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
"request_asset_exclude": [
7575
"Sarek9-13"
7676
],
77+
"support_latest": true,
7778
"type": "github"
7879
},
7980
{
@@ -90,6 +91,7 @@
9091
"request_asset_exclude": [
9192
"Sarek9-13"
9293
],
94+
"support_latest": true,
9395
"type": "github"
9496
},
9597
{
@@ -103,6 +105,22 @@
103105
"directory_name_format": "$release_name"
104106
}
105107
],
108+
"support_latest": true,
109+
"type": "github"
110+
},
111+
{
112+
"title": "Proton-GE RTSP",
113+
"description": "Steam compatibility tool based on Proton-GE with additional patches to improve RTSP codecs for VRChat.",
114+
"endpoint": "https://api.github.com/repos/SpookySkeletons/proton-ge-rtsp/releases",
115+
"asset_position": 1,
116+
"asset_position_time_condition": "2025-02-01T07:55:01Z|0",
117+
"directory_name_formats": [
118+
{
119+
"launcher": "default",
120+
"directory_name_format": "$release_name"
121+
}
122+
],
123+
"support_latest": true,
106124
"type": "github"
107125
},
108126
{
@@ -120,20 +138,6 @@
120138
"url_template": "https://nightly.link/Frogging-Family/wine-tkg-git/actions/runs/{id}/proton-tkg-build.zip",
121139
"type": "github-action"
122140
},
123-
{
124-
"title": "Proton-GE RTSP",
125-
"description": "Steam compatibility tool based on Proton-GE with additional patches to improve RTSP codecs for VRChat.",
126-
"endpoint": "https://api.github.com/repos/SpookySkeletons/proton-ge-rtsp/releases",
127-
"asset_position": 1,
128-
"asset_position_time_condition": "2025-02-01T07:55:01Z|0",
129-
"directory_name_formats": [
130-
{
131-
"launcher": "default",
132-
"directory_name_format": "$title $release_name"
133-
}
134-
],
135-
"type": "github"
136-
},
137141
{
138142
"title": "Luxtorpeda",
139143
"description": "Luxtorpeda provides Linux-native game engines for certain Windows-only games.",

src/models/runners/basic.vala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ namespace ProtonPlus.Models.Runners {
1111
}
1212

1313
public virtual string get_directory_name (string release_name) {
14+
if (release_name == "Proton-Sarek (Async) Latest")
15+
return release_name;
16+
1417
var directory_name = new StringBuilder(directory_name_format);
18+
1519
directory_name.replace ("$release_name", release_name);
1620
directory_name.replace ("$title", title);
1721

0 commit comments

Comments
 (0)