mirror of
https://git.um-react.app/um/cli.git
synced 2025-11-27 19:23:02 +00:00
chore: update url to new git host
This commit is contained in:
12
README.md
12
README.md
@@ -1,10 +1,10 @@
|
||||
# Unlock Music Project - CLI Edition
|
||||
|
||||
Original: Web Edition https://git.unlock-music.dev/um/web
|
||||
Original: Web Edition https://git.um-react.app/um/web
|
||||
|
||||
- [](https://git.unlock-music.dev/um/cli/actions?workflow=build.yml)
|
||||
- [Release Download](https://git.unlock-music.dev/um/cli/releases/latest)
|
||||
- [Latest Build](https://git.unlock-music.dev/um/cli/actions)
|
||||
- [](https://git.um-react.app/um/cli/actions?workflow=build.yml)
|
||||
- [Release Download](https://git.um-react.app/um/cli/releases/latest)
|
||||
- [Latest Build](https://git.um-react.app/um/cli/actions)
|
||||
|
||||
> **WARNING**
|
||||
> 在本站 fork 不会起到备份的作用,只会浪费服务器储存空间。如无必要请勿 fork 该仓库。
|
||||
@@ -16,13 +16,13 @@ Original: Web Edition https://git.unlock-music.dev/um/web
|
||||
|
||||
## Release
|
||||
|
||||
[Latest release](https://git.unlock-music.dev/um/cli/releases/latest).
|
||||
[Latest release](https://git.um-react.app/um/cli/releases/latest).
|
||||
|
||||
## Install from source
|
||||
|
||||
- Requirements: **Golang 1.23.3**
|
||||
|
||||
1. run `go install git.um-react.app/um/cli/cmd/um@master`
|
||||
1. run `go install git.um-react.app/um/cli/cmd/um@main`
|
||||
|
||||
### Build from repo source
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package pc_kugou_db
|
||||
|
||||
// ported from lib_um_crypto_rust:
|
||||
// https://git.unlock-music.dev/um/lib_um_crypto_rust/src/tag/v0.1.10/um_crypto/kgm/src/pc_db_decrypt
|
||||
// https://git.um-react.app/um/lib_um_crypto_rust/src/tag/v0.1.10/um_crypto/kgm/src/pc_db_decrypt
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
|
||||
@@ -44,7 +44,7 @@ func main() {
|
||||
app := cli.App{
|
||||
Name: "Unlock Music CLI",
|
||||
HelpName: "um",
|
||||
Usage: "Unlock your encrypted music file https://git.unlock-music.dev/um/cli",
|
||||
Usage: "Unlock your encrypted music file https://git.um-react.app/um/cli",
|
||||
Version: fmt.Sprintf("%s (%s,%s/%s)", AppVersion, runtime.Version(), runtime.GOOS, runtime.GOARCH),
|
||||
Flags: []cli.Flag{
|
||||
&cli.StringFlag{Name: "input", Aliases: []string{"i"}, Usage: "path to input file or dir", Required: false},
|
||||
@@ -63,7 +63,7 @@ func main() {
|
||||
},
|
||||
|
||||
Action: appMain,
|
||||
Copyright: fmt.Sprintf("Copyright (c) 2020 - %d Unlock Music https://git.unlock-music.dev/um/cli/src/branch/master/LICENSE", time.Now().Year()),
|
||||
Copyright: fmt.Sprintf("Copyright (c) 2020 - %d Unlock Music https://git.um-react.app/um/cli/src/branch/main/LICENSE", time.Now().Year()),
|
||||
HideHelpCommand: true,
|
||||
UsageText: "um [-o /path/to/output/dir] [--extra-flags] [-i] /path/to/input",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user