diff --git a/config.py b/config.py index 314e4b4..4ef5a2c 100644 --- a/config.py +++ b/config.py @@ -50,7 +50,7 @@ def setup_config(translator=None): 'machine_id_path': os.path.join(appdata, "Cursor", "machineId"), 'cursor_path': os.path.join(localappdata, "Programs", "Cursor", "resources", "app"), 'updater_path': os.path.join(localappdata, "cursor-updater"), - 'update_yml_path': os.path.join(localappdata, "Programs", "Cursor", "resources", "app", "update.yml") + 'update_yml_path': os.path.join(localappdata, "Programs", "Cursor", "resources", "update.yml") } elif sys.platform == "darwin": default_config['MacPaths'] = { diff --git a/locales/en.json b/locales/en.json index 05b7da6..d3c1c97 100644 --- a/locales/en.json +++ b/locales/en.json @@ -293,7 +293,8 @@ "update_yml_not_found": "update.yml file not found", "clear_update_yml_failed": "Failed to clear update.yml file: {error}", "unsupported_os": "Unsupported OS: {system}", - "remove_directory_failed": "Failed to remove directory: {error}" + "remove_directory_failed": "Failed to remove directory: {error}", + "create_block_file_failed": "Failed to create block file: {error}" }, "updater": { "checking": "Checking for updates...", diff --git a/locales/zh_cn.json b/locales/zh_cn.json index ecade24..aaf3db4 100644 --- a/locales/zh_cn.json +++ b/locales/zh_cn.json @@ -288,7 +288,8 @@ "update_yml_not_found": "update.yml 文件未找到", "clear_update_yml_failed": "清空 update.yml 文件失败: {error}", "unsupported_os": "不支持的操作系统: {system}", - "remove_directory_failed": "删除目录失败: {error}" + "remove_directory_failed": "删除目录失败: {error}", + "create_block_file_failed": "创建阻止文件失败: {error}" }, "updater": { "checking": "检查更新...", diff --git a/locales/zh_tw.json b/locales/zh_tw.json index 8ddb6cd..af3d414 100644 --- a/locales/zh_tw.json +++ b/locales/zh_tw.json @@ -267,7 +267,8 @@ "update_yml_not_found": "update.yml 文件未找到", "clear_update_yml_failed": "清空 update.yml 文件失败: {error}", "unsupported_os": "不支持的操作系统: {system}", - "remove_directory_failed": "刪除目錄失败: {error}" + "remove_directory_failed": "刪除目錄失败: {error}", + "create_block_file_failed": "創建阻止文件失败: {error}" }, "updater": { "checking": "檢查更新...",