From 50e3f5dd23419d075b9f525d9d4dcd33ffe71b56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=85=8E=E9=A5=BC=E6=9E=9C=E5=AD=90=E5=8D=B7=E9=B2=A8?= =?UTF-8?q?=E9=B1=BC=E8=BE=A3=E6=A4=92?= Date: Wed, 8 Jan 2025 19:12:48 +0800 Subject: [PATCH] Refactor README.md to streamline Windows installation instructions - Replaced the outdated Windows batch script download and execution commands with a single PowerShell command for improved compatibility and clarity. - Enhanced the instructions for domestic users by consolidating steps and ensuring consistent formatting throughout the document. - Removed redundant comments to simplify the installation process for Windows users. --- README.md | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 6965132..dad1521 100644 --- a/README.md +++ b/README.md @@ -73,10 +73,7 @@ irm https://raw.githubusercontent.com/yuaotian/go-cursor-help/master/scripts/ins ``` **国内用户快速安装** ```powershell - -curl -o "%TEMP%\cursor_reset.bat" "https://gh-proxy.com/https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_win_id_modifier.ps1 " - - +irm https://gh-proxy.com/https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_win_id_modifier.ps1 | iex ``` #### Windows Installation Features: @@ -217,17 +214,13 @@ curl -fsSL https://raw.githubusercontent.com/yuaotian/go-cursor-help/master/scri ``` c -**Windows**: 在PowerShell中复制粘贴 +**Windows**: 在PowerShell中复制粘贴执行 ```powershell irm https://raw.githubusercontent.com/yuaotian/go-cursor-help/master/scripts/install.ps1 | iex ``` **国内用户快速安装** ```powershell -# 下载重置脚本 -curl -o "%TEMP%\cursor_reset.bat" "https://gh-proxy.com/https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_win_id_modifier.ps1 " - -# 执行重置脚本 -start "" "%TEMP%\cursor_reset.bat" +irm https://gh-proxy.com/https://raw.githubusercontent.com/yuaotian/go-cursor-help/refs/heads/master/scripts/run/cursor_win_id_modifier.ps1 | iex ``` #### Windows 安装特性: