docs: update readme

This commit is contained in:
2025-10-16 15:11:39 +08:00
parent a5299f2455
commit b4ce2046a9
2 changed files with 54 additions and 7 deletions

View File

@ -7,7 +7,6 @@ import sys
from scientific_surfing.storage import StorageManager
from scientific_surfing.subscription_manager import SubscriptionManager
from scientific_surfing.corecfg_manager import CoreConfigManager
from scientific_surfing.corecfg_manager import CoreConfigManager
from scientific_surfing.core_manager import CoreManager
from scientific_surfing.hook_manager import HookManager
@ -75,10 +74,6 @@ def create_parser() -> argparse.ArgumentParser:
# Apply config
apply_parser = core_config_subparsers.add_parser('apply', help='Apply active subscription to generate final config')
# Upgrade mihomo binary
upgrade_parser = core_config_subparsers.add_parser('upgrade', help='Download and upgrade mihomo binary from GitHub releases')
upgrade_parser.add_argument('--version', help='Specific version to download (e.g., v1.18.5). If not specified, downloads latest')
upgrade_parser.add_argument('--force', action='store_true', help='Force download even if binary already exists')
# Core commands
core_parser = subparsers.add_parser('core', help='Manage scientific-surfing core components')