Browse Source

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.
pull/122/head v0.0.31
煎饼果子卷鲨鱼辣椒 5 months ago
parent
commit
df71df76e2
  1. 4
      CHANGELOG.md
  2. 18
      README.md
  3. 10
      cmd/cursor-id-modifier/main.go
  4. 2
      go.mod
  5. 2
      scripts/install.ps1
  6. 2
      scripts/install.sh

4
CHANGELOG.md

@ -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

@ -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)
@ -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>

10
cmd/cursor-id-modifier/main.go

@ -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

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

2
scripts/install.ps1

@ -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

2
scripts/install.sh

@ -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…
Cancel
Save