modified: If uv is available, set use_uv to True by default.

This commit is contained in:
Dr.Lt.Data committed 2025-07-03 12:32:50 +09:00
1 parent dd7314bf10
commit e71f3774ba
2 files changed
+6 -4

No files matched your search

+5 -3
View File
@@ -43,7 +43,7 @@ import manager_downloader
from node_package import InstalledNodePackage
version_code = [3, 33, 4]
version_code = [3, 33, 5]
version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')
@@ -1738,12 +1738,14 @@ def read_config():
}
except Exception:
manager_util.use_uv = False
import importlib.util
manager_util.use_uv = importlib.util.find_spec("uv")
return {
'http_channel_enabled': False,
'preview_method': manager_funcs.get_current_preview_method(),
'git_exe': '',
'use_uv': False,
'use_uv': manager_util.use_uv,
'channel_url': DEFAULT_CHANNEL,
'default_cache_as_channel_url': False,
'share_option': 'all',
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.