mirror of
https://github.com/yuaotian/go-cursor-help.git
synced 2025-06-07 20:12:06 +08:00
refactor: update project references from 'dacrab' to 'yuaotian'
- Changed module path in go.mod and updated all relevant URLs in README, CHANGELOG, and installation scripts to reflect the new GitHub repository. - Updated import paths in the main.go file to align with the new module name. - Adjusted API calls in installation scripts to fetch the latest release from the new repository location.
This commit is contained in:
parent
397e9d950e
commit
df71df76e2
@ -48,6 +48,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Enhanced error troubleshooting guide
|
||||
|
||||
---
|
||||
*For more details about the changes, please refer to the [commit history](https://github.com/dacrab/go-cursor-help/commits/main).*
|
||||
*For more details about the changes, please refer to the [commit history](https://github.com/yuaotian/go-cursor-help/commits/main).*
|
||||
|
||||
[0.1.22]: https://github.com/dacrab/go-cursor-help/releases/tag/v0.1.23
|
||||
[0.1.22]: https://github.com/yuaotian/go-cursor-help/releases/tag/v0.1.23
|
18
README.md
18
README.md
@ -2,9 +2,9 @@
|
||||
|
||||
<div align="center">
|
||||
|
||||
[](https://github.com/dacrab/go-cursor-help/releases/latest)
|
||||
[](https://github.com/dacrab/go-cursor-help/blob/master/LICENSE)
|
||||
[](https://github.com/dacrab/go-cursor-help/stargazers)
|
||||
[](https://github.com/yuaotian/go-cursor-help/releases/latest)
|
||||
[](https://github.com/yuaotian/go-cursor-help/blob/master/LICENSE)
|
||||
[](https://github.com/yuaotian/go-cursor-help/stargazers)
|
||||
|
||||
[🌟 English](#english) | [🌏 中文](#chinese)
|
||||
|
||||
@ -60,12 +60,12 @@ this is a mistake.
|
||||
|
||||
**Linux/macOS**: Copy and paste in terminal
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/dacrab/go-cursor-help/master/scripts/install.sh | sudo bash
|
||||
curl -fsSL https://raw.githubusercontent.com/yuaotian/go-cursor-help/master/scripts/install.sh | sudo bash
|
||||
```
|
||||
|
||||
**Windows**: Copy and paste in PowerShell
|
||||
```powershell
|
||||
irm https://raw.githubusercontent.com/dacrab/go-cursor-help/master/scripts/install.ps1 | iex
|
||||
irm https://raw.githubusercontent.com/yuaotian/go-cursor-help/master/scripts/install.ps1 | iex
|
||||
```
|
||||
|
||||
#### Windows Installation Features:
|
||||
@ -80,7 +80,7 @@ That's it! The script will:
|
||||
|
||||
### 📦 Manual Installation
|
||||
|
||||
> Download the appropriate file for your system from [releases](https://github.com/dacrab/go-cursor-help/releases/latest)
|
||||
> Download the appropriate file for your system from [releases](https://github.com/yuaotian/go-cursor-help/releases/latest)
|
||||
|
||||
<details>
|
||||
<summary>Windows Packages</summary>
|
||||
@ -178,12 +178,12 @@ this is a mistake.
|
||||
|
||||
**Linux/macOS**: 在终端中复制粘贴
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/dacrab/go-cursor-help/master/scripts/install.sh | sudo bash
|
||||
curl -fsSL https://raw.githubusercontent.com/yuaotian/go-cursor-help/master/scripts/install.sh | sudo bash
|
||||
```
|
||||
|
||||
**Windows**: 在PowerShell中复制粘贴
|
||||
```powershell
|
||||
irm https://raw.githubusercontent.com/dacrab/go-cursor-help/master/scripts/install.ps1 | iex
|
||||
irm https://raw.githubusercontent.com/yuaotian/go-cursor-help/master/scripts/install.ps1 | iex
|
||||
```
|
||||
|
||||
#### Windows 安装特性:
|
||||
@ -198,7 +198,7 @@ That's it! The script will:
|
||||
|
||||
### 📦 Manual Installation
|
||||
|
||||
> Download the appropriate file for your system from [releases](https://github.com/dacrab/go-cursor-help/releases/latest)
|
||||
> Download the appropriate file for your system from [releases](https://github.com/yuaotian/go-cursor-help/releases/latest)
|
||||
|
||||
<details>
|
||||
<summary>Windows Packages</summary>
|
||||
|
@ -11,11 +11,11 @@ import (
|
||||
"runtime/debug"
|
||||
"strings"
|
||||
|
||||
"github.com/dacrab/go-cursor-help/internal/config"
|
||||
"github.com/dacrab/go-cursor-help/internal/lang"
|
||||
"github.com/dacrab/go-cursor-help/internal/process"
|
||||
"github.com/dacrab/go-cursor-help/internal/ui"
|
||||
"github.com/dacrab/go-cursor-help/pkg/idgen"
|
||||
"github.com/yuaotian/go-cursor-help/internal/config"
|
||||
"github.com/yuaotian/go-cursor-help/internal/lang"
|
||||
"github.com/yuaotian/go-cursor-help/internal/process"
|
||||
"github.com/yuaotian/go-cursor-help/internal/ui"
|
||||
"github.com/yuaotian/go-cursor-help/pkg/idgen"
|
||||
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
||||
module github.com/dacrab/go-cursor-help
|
||||
module github.com/yuaotian/go-cursor-help
|
||||
|
||||
go 1.21
|
||||
|
||||
|
@ -98,7 +98,7 @@ function Install-CursorModifier {
|
||||
|
||||
# Get latest release
|
||||
try {
|
||||
$latestRelease = Invoke-RestMethod -Uri "https://api.github.com/repos/dacrab/go-cursor-help/releases/latest"
|
||||
$latestRelease = Invoke-RestMethod -Uri "https://api.github.com/repos/yuaotian/go-cursor-help/releases/latest"
|
||||
Write-Host "Found latest release: $($latestRelease.tag_name)" -ForegroundColor Cyan
|
||||
|
||||
# Look for Windows binary with our architecture
|
||||
|
@ -87,7 +87,7 @@ main() {
|
||||
|
||||
# Get latest release info
|
||||
echo -e "${BLUE}Fetching latest release information...${NC}"
|
||||
LATEST_URL="https://api.github.com/repos/dacrab/go-cursor-help/releases/latest"
|
||||
LATEST_URL="https://api.github.com/repos/yuaotian/go-cursor-help/releases/latest"
|
||||
|
||||
# Construct binary name
|
||||
BINARY_NAME="cursor-id-modifier_${OS}_${ARCH}${SUFFIX}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user