altlinux-autorepacked/autorepacked/providers/code/__init__.py

12 lines
262 B
Python
Raw Normal View History

2024-01-16 17:32:13 +03:00
from autorepacked.base_provider import BaseProvider
class CodeProvider(BaseProvider):
_name = 'code'
DOWNLOAD_URL = "https://code.visualstudio.com/sha/download?build=stable&os=linux-rpm-x64"
def get_provider(config):
return CodeProvider(config)