MemRelay-Operation: memory-save:restart-cursor-script-20261206 MemRelay-Resource: eb2e93cb-e04c-41e9-815e-c6f9f93eaa87
840 B
840 B
title, type, permalink, stable_id, scope, memory_type, project_id, usage_profile_id, status, revision, request_id, created_at, updated_at, tags
| title | type | permalink | stable_id | scope | memory_type | project_id | usage_profile_id | status | revision | request_id | created_at | updated_at | tags | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 重启 Cursor 使用 Restart-Cursor.ps1 | fact | main/global/重启-cursor-使用-restart-cursor.ps1 | eb2e93cb-e04c-41e9-815e-c6f9f93eaa87 | global | fact | null | 0c9feb46-d06e-43cd-9ef0-c5813c84a998 | active | 1 | restart-cursor-script-20261206 | 2026-12-05T19:55:07.663811+00:00 | 2026-12-05T19:55:07.663811+00:00 |
|
重启 Cursor 的脚本在 E:\code\AIChatMover\Restart-Cursor.ps1,双击入口是 Restart-Cursor.bat。脚本先用 Win32_Process.Create 启动脱离的 powershell 工作进程,再关闭 Cursor.exe 并重新打开原来的可执行文件。需要重启时由代理运行该脚本,用户回来后再继续。日志:E:\code\AIChatMover\Restart-Cursor.log。