diff --git a/README.md b/README.md index b9e435b..85b0042 100644 --- a/README.md +++ b/README.md @@ -170,16 +170,39 @@ irm https://aizaozao.com/accelerate.php/https://raw.githubusercontent.com/yuaoti
Windows Terminal Run and Configuration -### 🖥️ Opening Windows Admin Terminal +#### How to Open Administrator Terminal in Windows: + +##### Method 1: Using Win + X Shortcut +```md +1. Press Win + X key combination +2. Select one of these options from the menu: + - "Windows PowerShell (Administrator)" + - "Windows Terminal (Administrator)" + - "Terminal (Administrator)" + (Options may vary depending on Windows version) +``` + +##### Method 2: Using Win + R Run Command +```md +1. Press Win + R key combination +2. Type powershell or pwsh in the Run dialog +3. Press Ctrl + Shift + Enter to run as administrator + or type in the opened window: Start-Process pwsh -Verb RunAs +4. Enter the reset script in the administrator terminal: + +irm https://aizaozao.com/accelerate.php/https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_win_id_modifier.ps1 | iex +``` -> **How to open an administrator terminal in Windows:** +##### Method 3: Using Search +>![Search PowerShell](img/pwsh_1.png) > -> 1. Press `Win + X` shortcut key -> 2. Select one of the following options: -> - "Windows PowerShell (Administrator)" -> - "Windows Terminal (Administrator)" -> - "Terminal (Administrator)" -> (Options may vary depending on your Windows version) +>Type pwsh in the search box, right-click and select "Run as administrator" +>![Run as Administrator](img/pwsh_2.png) + +Enter the reset script in the administrator terminal: +```powershell +irm https://aizaozao.com/accelerate.php/https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_win_id_modifier.ps1 | iex +``` ### 🔧 PowerShell Installation Guide diff --git a/README_CN.md b/README_CN.md index 50385ec..cd6cc34 100644 --- a/README_CN.md +++ b/README_CN.md @@ -138,17 +138,42 @@ irm https://aizaozao.com/accelerate.php/https://raw.githubusercontent.com/yuaoti
+
+Windows 管理员终端运行和手动安装 + +#### Windows 系统打开管理员终端的方法: + +##### 方法一:使用 Win + X 快捷键 +```md +1. 按下 Win + X 组合键 +2. 在弹出的菜单中选择以下任一选项: + - "Windows PowerShell (管理员)" + - "Windows Terminal (管理员)" + - "终端(管理员)" + (具体选项因Windows版本而异) +``` + +##### 方法二:使用 Win + R 运行命令 +```md +1. 按下 Win + R 组合键 +2. 在运行框中输入 powershell 或 pwsh +3. 按 Ctrl + Shift + Enter 以管理员身份运行 + 或在打开的窗口中输入: Start-Process pwsh -Verb RunAs +4. 在管理员终端中输入以下重置脚本: -### 💻 如何打开 Windows 管理员终端 +irm https://aizaozao.com/accelerate.php/https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_win_id_modifier.ps1 | iex +``` -> **Windows 系统打开管理员终端的方法:** +##### 方法三:通过搜索启动 +>![搜索 PowerShell](img/pwsh_1.png) > -> 1. 使用快捷键 `Win + X` -> 2. 在弹出的菜单中选择: -> - "Windows PowerShell (管理员)" -> - "Windows Terminal (管理员)" -> - "终端(管理员)" -> (根据系统版本可能显示不同选项) +>在搜索框中输入 pwsh,右键选择"以管理员身份运行" +>![管理员运行](img/pwsh_2.png) + +在管理员终端中输入重置脚本: +```powershell +irm https://aizaozao.com/accelerate.php/https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_win_id_modifier.ps1 | iex +``` ### 🔧 PowerShell 安装指南 @@ -173,6 +198,8 @@ winget install --id Microsoft.PowerShell --source winget > 💡 如果仍然遇到问题,可以参考 [Microsoft 官方安装指南](https://learn.microsoft.com/zh-cn/powershell/scripting/install/installing-powershell-on-windows) +
+ #### Windows 安装特性: - 🔍 自动检测并使用 PowerShell 7(如果可用) diff --git a/img/pwsh_1.png b/img/pwsh_1.png new file mode 100644 index 0000000..c3a9c58 Binary files /dev/null and b/img/pwsh_1.png differ diff --git a/img/pwsh_2.png b/img/pwsh_2.png new file mode 100644 index 0000000..8386583 Binary files /dev/null and b/img/pwsh_2.png differ