Compare commits

..

3 Commits

6 changed files with 12 additions and 5 deletions

4
.env
View File

@@ -1,2 +1,2 @@
version=1.10.03 version=1.10.04
VERSION=1.10.03 VERSION=1.10.04

View File

@@ -43,7 +43,7 @@ body:
attributes: attributes:
label: 版本 label: 版本
description: 您正在运行的 Cursor Free Vip 版本是什么? description: 您正在运行的 Cursor Free Vip 版本是什么?
placeholder: 例如 v1.0.0 placeholder: 例如 v1.0.0 ( 不是 Cursor AI 版本 )
validations: validations:
required: true required: true

View File

@@ -43,7 +43,7 @@ body:
attributes: attributes:
label: Version label: Version
description: What version of Cursor Free Vip are you running? description: What version of Cursor Free Vip are you running?
placeholder: For example v1.0.0 placeholder: For example v1.0.0 ( Not Cursor AI Version )
validations: validations:
required: true required: true

View File

@@ -6,7 +6,7 @@ on:
version: version:
description: 'Version number (e.g. 1.0.9)' description: 'Version number (e.g. 1.0.9)'
required: true required: true
default: '1.9.02' default: '1.10.04'
permissions: permissions:
contents: write contents: write

View File

@@ -1,5 +1,9 @@
# Change Log # Change Log
## v1.10.04
1. Hotfix: Reset Process Error: cannot access local variable 'main_path' where it is not associated with a value on windows & macos | 修復在 Windows 和 macOS 上無法訪問局部變量 'main_path' 的問題
2. Fix: Some Issues | 修復一些問題
## v1.10.03 ## v1.10.03
1. Add: Manual Registration | 增加手動註冊 1. Add: Manual Registration | 增加手動註冊
2. Only support your own Email | 只支持自己的Email 請勿使用Temp Email 註冊 註冊假賬號. 2. Only support your own Email | 只支持自己的Email 請勿使用Temp Email 註冊 註冊假賬號.

View File

@@ -243,6 +243,9 @@ def get_workbench_cursor_path(translator=None) -> str:
if config.has_section('LinuxPaths') and config.has_option('LinuxPaths', 'cursor_path'): if config.has_section('LinuxPaths') and config.has_option('LinuxPaths', 'cursor_path'):
base_path = config.get('LinuxPaths', 'cursor_path') base_path = config.get('LinuxPaths', 'cursor_path')
# Get the main path for non-Linux systems or if Linux path wasn't found in the loop
main_path = os.path.join(base_path, paths_map[system]["main"])
if not os.path.exists(main_path): if not os.path.exists(main_path):
raise OSError(translator.get('reset.file_not_found', path=main_path) if translator else f"未找到 Cursor main.js 文件: {main_path}") raise OSError(translator.get('reset.file_not_found', path=main_path) if translator else f"未找到 Cursor main.js 文件: {main_path}")