[patch] 修正ks3包名问题
This commit is contained in:
@@ -9,7 +9,12 @@ import os
|
||||
import sys
|
||||
import logging
|
||||
from pathlib import Path
|
||||
from ks3.connection import Connection
|
||||
|
||||
try:
|
||||
from ks3.connection import Connection
|
||||
except ImportError:
|
||||
print("ERROR: ks3sdk not installed. Please run: pip install ks3sdk")
|
||||
sys.exit(1)
|
||||
|
||||
# Configure logging
|
||||
logging.basicConfig(
|
||||
|
||||
@@ -346,7 +346,9 @@ jobs:
|
||||
Write-Host "Step 4.8: Upload installer to KS3";
|
||||
Write-Host "==========================================";
|
||||
|
||||
pip install ks3 2>$null;
|
||||
# Install KS3 SDK
|
||||
Write-Host "Installing KS3 SDK...";
|
||||
python -m pip install ks3sdk --quiet;
|
||||
|
||||
python .gitea/scripts/upload_installer_to_ks3.py;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user