Skip to content

Commit 685bdad

Browse files
DavidoTeksonic2kk
andauthored
Add RTSP Proton CtMod (#470)
* Add RTSP Proton CtMod * Gate RTSP Proton ctmod behind Advanced Mode We do this for NorthStar Proton, probably makes sense Helps declutter the dropdown too. --------- Co-authored-by: Eamonn Rea <[email protected]>
1 parent d7c71a8 commit 685bdad

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# pupgui2 compatibility tools module
2+
# Roberta
3+
# Copyright (C) 2021 DavidoTek, partially based on AUNaseef's protonup
4+
5+
from PySide6.QtCore import QCoreApplication
6+
7+
from pupgui2.resources.ctmods.ctmod_00protonge import CtInstaller as GEProtonInstaller
8+
9+
10+
CT_NAME = 'RTSP Proton'
11+
CT_LAUNCHERS = ['steam', 'advmode']
12+
CT_DESCRIPTION = {'en': QCoreApplication.instance().translate('ctmod_rtspgeproton', '''Fork of GE-Proton with enhanced Windows Media Foundation support.''')}
13+
14+
15+
class CtInstaller(GEProtonInstaller):
16+
17+
BUFFER_SIZE = 4096
18+
CT_URL = 'https://api.github.com/repos/SpookySkeletons/proton-ge-rtsp/releases'
19+
CT_INFO_URL = 'https://github.com/SpookySkeletons/proton-ge-rtsp/releases/tag/'
20+
21+
def __init__(self, main_window = None):
22+
super().__init__(main_window)
23+

0 commit comments

Comments
 (0)