altlinux-autorepacked/autorepacked/providers/rustdesk/__init__.py
2024-01-21 12:41:50 +03:00

19 lines
445 B
Python

from autorepacked.common_providers.github_releases_provider import GithubReleasesProvider
class RustdeskProvider(GithubReleasesProvider):
_name = 'rustdesk'
_repo = 'rustdesk/rustdesk'
def _get_release_filename(self):
return f'rustdesk-{self.get_version()}.deb'
def get_version(self):
# pin version due to error in start
return '1.1.9'
def get_provider(config):
return RustdeskProvider(config)