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:
煎饼果子卷鲨鱼辣椒 2024-12-30 19:43:59 +08:00
parent 397e9d950e
commit df71df76e2
6 changed files with 19 additions and 19 deletions

View File

@ -48,6 +48,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Enhanced error troubleshooting guide - 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

View File

@ -2,9 +2,9 @@
<div align="center"> <div align="center">
[![Release](https://img.shields.io/github/v/release/dacrab/go-cursor-help?style=flat-square&logo=github&color=blue)](https://github.com/dacrab/go-cursor-help/releases/latest) [![Release](https://img.shields.io/github/v/release/yuaotian/go-cursor-help?style=flat-square&logo=github&color=blue)](https://github.com/yuaotian/go-cursor-help/releases/latest)
[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square&logo=bookstack)](https://github.com/dacrab/go-cursor-help/blob/master/LICENSE) [![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square&logo=bookstack)](https://github.com/yuaotian/go-cursor-help/blob/master/LICENSE)
[![Stars](https://img.shields.io/github/stars/dacrab/go-cursor-help?style=flat-square&logo=github)](https://github.com/dacrab/go-cursor-help/stargazers) [![Stars](https://img.shields.io/github/stars/yuaotian/go-cursor-help?style=flat-square&logo=github)](https://github.com/yuaotian/go-cursor-help/stargazers)
[🌟 English](#english) | [🌏 中文](#chinese) [🌟 English](#english) | [🌏 中文](#chinese)
@ -60,12 +60,12 @@ this is a mistake.
**Linux/macOS**: Copy and paste in terminal **Linux/macOS**: Copy and paste in terminal
```bash ```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 **Windows**: Copy and paste in PowerShell
```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: #### Windows Installation Features:
@ -80,7 +80,7 @@ That's it! The script will:
### 📦 Manual Installation ### 📦 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> <details>
<summary>Windows Packages</summary> <summary>Windows Packages</summary>
@ -178,12 +178,12 @@ this is a mistake.
**Linux/macOS**: 在终端中复制粘贴 **Linux/macOS**: 在终端中复制粘贴
```bash ```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中复制粘贴 **Windows**: 在PowerShell中复制粘贴
```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 安装特性: #### Windows 安装特性:
@ -198,7 +198,7 @@ That's it! The script will:
### 📦 Manual Installation ### 📦 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> <details>
<summary>Windows Packages</summary> <summary>Windows Packages</summary>

View File

@ -11,11 +11,11 @@ import (
"runtime/debug" "runtime/debug"
"strings" "strings"
"github.com/dacrab/go-cursor-help/internal/config" "github.com/yuaotian/go-cursor-help/internal/config"
"github.com/dacrab/go-cursor-help/internal/lang" "github.com/yuaotian/go-cursor-help/internal/lang"
"github.com/dacrab/go-cursor-help/internal/process" "github.com/yuaotian/go-cursor-help/internal/process"
"github.com/dacrab/go-cursor-help/internal/ui" "github.com/yuaotian/go-cursor-help/internal/ui"
"github.com/dacrab/go-cursor-help/pkg/idgen" "github.com/yuaotian/go-cursor-help/pkg/idgen"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
) )

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/dacrab/go-cursor-help module github.com/yuaotian/go-cursor-help
go 1.21 go 1.21

View File

@ -98,7 +98,7 @@ function Install-CursorModifier {
# Get latest release # Get latest release
try { 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 Write-Host "Found latest release: $($latestRelease.tag_name)" -ForegroundColor Cyan
# Look for Windows binary with our architecture # Look for Windows binary with our architecture

View File

@ -87,7 +87,7 @@ main() {
# Get latest release info # Get latest release info
echo -e "${BLUE}Fetching latest release information...${NC}" 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 # Construct binary name
BINARY_NAME="cursor-id-modifier_${OS}_${ARCH}${SUFFIX}" BINARY_NAME="cursor-id-modifier_${OS}_${ARCH}${SUFFIX}"