Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RTSP Proton CtMod #470

Merged
merged 2 commits into from
Nov 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions pupgui2/resources/ctmods/ctmod_rtspgeproton.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# pupgui2 compatibility tools module
# Roberta
# Copyright (C) 2021 DavidoTek, partially based on AUNaseef's protonup

from PySide6.QtCore import QCoreApplication

from pupgui2.resources.ctmods.ctmod_00protonge import CtInstaller as GEProtonInstaller


CT_NAME = 'RTSP Proton'
CT_LAUNCHERS = ['steam', 'advmode']
CT_DESCRIPTION = {'en': QCoreApplication.instance().translate('ctmod_rtspgeproton', '''Fork of GE-Proton with enhanced Windows Media Foundation support.''')}


class CtInstaller(GEProtonInstaller):

BUFFER_SIZE = 4096
CT_URL = 'https://api.github.com/repos/SpookySkeletons/proton-ge-rtsp/releases'
CT_INFO_URL = 'https://github.com/SpookySkeletons/proton-ge-rtsp/releases/tag/'

def __init__(self, main_window = None):
super().__init__(main_window)