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 11# Change Log
22
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+
314## v1.10.01
4151 . Remove: Remove All Auto generating fake Google email accounts and OAuth access | 移除所有自動生成假 Google 電子郵件帳戶和 OAuth 訪問
5162 . Follow GitHub Terms of Service | 遵守 GitHub Terms of Service
Original file line number Diff line number Diff line change 1212from colorama import Fore , Style , init
1313from typing import Tuple
1414import configparser
15- from new_signup import get_user_documents_path
1615import traceback
1716from config import get_config
1817from datetime import datetime
3130 "WARNING" : "⚠️" ,
3231}
3332
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+
3447def get_cursor_paths (translator = None ) -> Tuple [str , str ]:
3548 """ Get Cursor related paths"""
3649 system = platform .system ()
Original file line number Diff line number Diff line change 1111from colorama import Fore , Style , init
1212from typing import Tuple
1313import configparser
14- from new_signup import get_user_documents_path
1514import traceback
1615from config import get_config
1716import glob
3029 "WARNING" : "⚠️" ,
3130}
3231
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+
3346def get_cursor_paths (translator = None ) -> Tuple [str , str ]:
3447 """ Get Cursor related paths"""
3548 system = platform .system ()
You can’t perform that action at this time.
0 commit comments