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