mirror of
https://github.com/Maks1mS/altlinux-autorepacked.git
synced 2024-12-25 15:34:39 +03:00
19 lines
445 B
Python
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)
|