Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 修复了在 get_cursor_paths 函数中构建 base 路径时传参的类型错误 #275

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

SKDG042
Copy link
Contributor

@SKDG042 SKDG042 commented Mar 4, 2025

os.getenv("LOCALAPPDATA", "")需要一个字符串,而(os.getenv("LOCALAPPDATA", ""), "Programs", "Cursor", "resources", "app")返回了一个元组,故改为使用 os.path.join 连接字符串

os.getenv("LOCALAPPDATA", "")需要一个字符串,而(os.getenv("LOCALAPPDATA", ""), "Programs", "Cursor", "resources", "app")返回了一个元组,故改为使用 os.path.join 连接字符串
@chengazhen chengazhen merged commit f377972 into chengazhen:main Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants