File tree Expand file tree Collapse file tree 4 files changed +41
-4
lines changed Expand file tree Collapse file tree 4 files changed +41
-4
lines changed Original file line number Diff line number Diff line change 1
- version = 1.10.01
2
- VERSION = 1.10.01
1
+ version = 1.10.02
2
+ VERSION = 1.10.02
Original file line number Diff line number Diff line change 1
1
# Change Log
2
2
3
+ ## v1.10.02
4
+ 1 . Remove: Remove All Auto generating fake Google email accounts and OAuth access | 移除所有自動生成假 Google 電子郵件帳戶和 OAuth 訪問
5
+ 2 . Follow GitHub Terms of Service | 遵守 GitHub Terms of Service
6
+ 3 . Follow Cursor Terms of Service | 遵守 Cursor Terms of Service
7
+ 4 . All are for educational purposes, currently the repo does not violate any laws | 全都是教育用途,目前 repo 沒有違反任何法律
8
+ 5 . This project adopts CC BY-NC-ND 4.0 , do not use for commercial purposes | 本專案採用 CC BY-NC-ND 4.0,拒絕任何商業用途
9
+ 6 . Use & Cherish | 切用且珍惜
10
+ 7 . Same as v1.10.01 | 與 v1.10.01 相同
11
+ 8 . Fix: reset machine ID no module name 'new_signup' | 修復機器 ID 重置 no module name 'new_signup'
12
+ 9 . Fix: Some Issues | 修復一些問題
13
+
3
14
## v1.10.01
4
15
1 . Remove: Remove All Auto generating fake Google email accounts and OAuth access | 移除所有自動生成假 Google 電子郵件帳戶和 OAuth 訪問
5
16
2 . Follow GitHub Terms of Service | 遵守 GitHub Terms of Service
Original file line number Diff line number Diff line change 12
12
from colorama import Fore , Style , init
13
13
from typing import Tuple
14
14
import configparser
15
- from new_signup import get_user_documents_path
16
15
import traceback
17
16
from config import get_config
18
17
from datetime import datetime
31
30
"WARNING" : "⚠️" ,
32
31
}
33
32
33
+ def get_user_documents_path ():
34
+ """Get user Documents folder path"""
35
+ if sys .platform == "win32" :
36
+ return os .path .join (os .path .expanduser ("~" ), "Documents" )
37
+ elif sys .platform == "darwin" :
38
+ return os .path .join (os .path .expanduser ("~" ), "Documents" )
39
+ else : # Linux
40
+ # Get actual user's home directory
41
+ sudo_user = os .environ .get ('SUDO_USER' )
42
+ if sudo_user :
43
+ return os .path .join ("/home" , sudo_user , "Documents" )
44
+ return os .path .join (os .path .expanduser ("~" ), "Documents" )
45
+
46
+
34
47
def get_cursor_paths (translator = None ) -> Tuple [str , str ]:
35
48
""" Get Cursor related paths"""
36
49
system = platform .system ()
Original file line number Diff line number Diff line change 11
11
from colorama import Fore , Style , init
12
12
from typing import Tuple
13
13
import configparser
14
- from new_signup import get_user_documents_path
15
14
import traceback
16
15
from config import get_config
17
16
import glob
30
29
"WARNING" : "⚠️" ,
31
30
}
32
31
32
+ def get_user_documents_path ():
33
+ """Get user Documents folder path"""
34
+ if sys .platform == "win32" :
35
+ return os .path .join (os .path .expanduser ("~" ), "Documents" )
36
+ elif sys .platform == "darwin" :
37
+ return os .path .join (os .path .expanduser ("~" ), "Documents" )
38
+ else : # Linux
39
+ # Get actual user's home directory
40
+ sudo_user = os .environ .get ('SUDO_USER' )
41
+ if sudo_user :
42
+ return os .path .join ("/home" , sudo_user , "Documents" )
43
+ return os .path .join (os .path .expanduser ("~" ), "Documents" )
44
+
45
+
33
46
def get_cursor_paths (translator = None ) -> Tuple [str , str ]:
34
47
""" Get Cursor related paths"""
35
48
system = platform .system ()
You can’t perform that action at this time.
0 commit comments