Add profile module.
This commit is contained in:
@@ -200,7 +200,7 @@ def download_file(file: FileObject, overwrite=True, progress_callback: Callable[
|
||||
|
||||
return file
|
||||
|
||||
def download_multiple_files(files: List[FileObject], download_callback: Callable[str]=None,
|
||||
def download_multiple_files(files: List[FileObject], download_callback: Callable[[str], None]=None,
|
||||
max_workers=THREADED_DOWNLOAD_MAX_WORKERS, progress_callback: Callable[str]=None) \
|
||||
-> tuple[list[FileObject], list[FileObject]]:
|
||||
"""
|
||||
|
||||
@@ -74,4 +74,16 @@ class RuntimeManifestFetchException(LauncherException):
|
||||
user_message = "Unable to fetch runtime manifest."
|
||||
|
||||
class RuntimeManifestDataException(LauncherException):
|
||||
user_message = "Runtime manifest is missing or corrupted."
|
||||
user_message = "Runtime manifest is missing or corrupted."
|
||||
|
||||
class ProfileException(LauncherException):
|
||||
user_message = "An error occurred while processing profile."
|
||||
|
||||
class ProfileSaveException(LauncherException):
|
||||
user_message = "Unable to save profile. Try again later."
|
||||
|
||||
class ProfileLoadException(LauncherException):
|
||||
user_message = "Unable to load profile. Profile may corrupted"
|
||||
|
||||
class ProfileKeyNotFoundException(LauncherException):
|
||||
user_message = "Specified profile key not found. Profile may corrupted."
|
||||
Reference in New Issue
Block a user