soulsync 1.0.8 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/main.py +2 -12
package/package.json
CHANGED
package/src/main.py
CHANGED
|
@@ -67,16 +67,6 @@ class SoulSyncPlugin:
|
|
|
67
67
|
self.config['cloud_url'] = 'https://soulsync.work'
|
|
68
68
|
print("[SoulSync] Cloud URL not set, using default: https://soulsync.work")
|
|
69
69
|
|
|
70
|
-
if not email or not password or email == 'your-email@example.com' or password == 'your-password':
|
|
71
|
-
print("\n[SoulSync] ========================================")
|
|
72
|
-
print("[SoulSync] Please configure your account first / 请先配置账号")
|
|
73
|
-
print("[SoulSync] ========================================")
|
|
74
|
-
print("[SoulSync] Edit config file / 编辑配置文件:")
|
|
75
|
-
print(f" {config_path}")
|
|
76
|
-
print("[SoulSync] Set your email and password, then restart / 填写邮箱和密码后重启")
|
|
77
|
-
print("[SoulSync] ========================================\n")
|
|
78
|
-
sys.exit(0)
|
|
79
|
-
|
|
80
70
|
workspace = self.config.get('workspace', './workspace')
|
|
81
71
|
if workspace.startswith('./'):
|
|
82
72
|
workspace = workspace[2:]
|
|
@@ -259,8 +249,8 @@ class SoulSyncPlugin:
|
|
|
259
249
|
sys.exit(0)
|
|
260
250
|
|
|
261
251
|
print("\n[SoulSync] ❌ Too many registration attempts / 注册尝试次数过多")
|
|
262
|
-
|
|
263
|
-
|
|
252
|
+
print("[SoulSync] Exiting... / 退出...")
|
|
253
|
+
sys.exit(0)
|
|
264
254
|
|
|
265
255
|
def initialize(self):
|
|
266
256
|
"""初始化组件"""
|