Refactor reset_machine_manual.py to remove deprecated comments and add new error message translations for file modification failures in English, Simplified Chinese, and Traditional Chinese locales.

This commit is contained in:
yeongpin
2025-03-28 23:41:19 +08:00
parent c97bfd1475
commit 5f380ebe5e
4 changed files with 6 additions and 6 deletions

View File

@@ -663,13 +663,10 @@ class MachineIDResetter:
self.update_system_ids(new_ids)
### Remove In v1.7.02
# Modify workbench.desktop.main.js
workbench_path = get_workbench_cursor_path(self.translator)
modify_workbench_js(workbench_path, self.translator)
### Remove In v1.7.02
# Check Cursor version and perform corresponding actions
greater_than_0_45 = check_cursor_version(self.translator)