mirror of
https://github.com/MetaCubeX/Clash.Meta.git
synced 2025-04-18 08:20:53 +00:00
replace metacubex/mihomo with abyss219/mihomo
This commit is contained in:
parent
8e5646a19e
commit
336eef187b
9 changed files with 12 additions and 12 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -217,7 +217,7 @@ jobs:
|
|||
GOMIPS: ${{matrix.jobs.gomips}}
|
||||
run: |
|
||||
go env
|
||||
go build -v -tags "with_gvisor" -trimpath -ldflags "${BUILDTAG} -X 'github.com/metacubex/mihomo/constant.Version=${VERSION}' -X 'github.com/metacubex/mihomo/constant.BuildTime=${BUILDTIME}' -w -s -buildid="
|
||||
go build -v -tags "with_gvisor" -trimpath -ldflags "${BUILDTAG} -X 'github.com/abyss219/mihomo/constant.Version=${VERSION}' -X 'github.com/abyss219/mihomo/constant.BuildTime=${BUILDTIME}' -w -s -buildid="
|
||||
if [ "${{matrix.jobs.goos}}" = "windows" ]; then
|
||||
cp mihomo.exe mihomo-${{matrix.jobs.goos}}-${{matrix.jobs.output}}.exe
|
||||
zip -r mihomo-${{matrix.jobs.goos}}-${{matrix.jobs.output}}-${VERSION}.zip mihomo-${{matrix.jobs.goos}}-${{matrix.jobs.output}}.exe
|
||||
|
|
|
@ -11,7 +11,7 @@ linters-settings:
|
|||
custom-order: true
|
||||
sections:
|
||||
- standard
|
||||
- prefix(github.com/metacubex/mihomo)
|
||||
- prefix(github.com/abyss219/mihomo)
|
||||
- default
|
||||
staticcheck:
|
||||
go: '1.19'
|
||||
|
|
4
Makefile
4
Makefile
|
@ -12,8 +12,8 @@ VERSION=$(shell git rev-parse --short HEAD)
|
|||
endif
|
||||
|
||||
BUILDTIME=$(shell date -u)
|
||||
GOBUILD=CGO_ENABLED=0 go build -tags with_gvisor -trimpath -ldflags '-X "github.com/metacubex/mihomo/constant.Version=$(VERSION)" \
|
||||
-X "github.com/metacubex/mihomo/constant.BuildTime=$(BUILDTIME)" \
|
||||
GOBUILD=CGO_ENABLED=0 go build -tags with_gvisor -trimpath -ldflags '-X "github.com/abyss219/mihomo/constant.Version=$(VERSION)" \
|
||||
-X "github.com/abyss219/mihomo/constant.BuildTime=$(BUILDTIME)" \
|
||||
-w -s -buildid='
|
||||
|
||||
PLATFORM_LIST = \
|
||||
|
|
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||
|
||||
package mihomo.component.geodata.router;
|
||||
option csharp_namespace = "Mihomo.Component.Geodata.Router";
|
||||
option go_package = "github.com/metacubex/mihomo/component/geodata/router";
|
||||
option go_package = "github.com/abyss219/mihomo/component/geodata/router";
|
||||
option java_package = "com.mihomo.component.geodata.router";
|
||||
option java_multiple_files = true;
|
||||
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/metacubex/mihomo/constant.Version=dev-${version}"
|
||||
"-X github.com/metacubex/mihomo/constant.BuildTime=${version}"
|
||||
"-X github.com/abyss219/mihomo/constant.Version=dev-${version}"
|
||||
"-X github.com/abyss219/mihomo/constant.BuildTime=${version}"
|
||||
];
|
||||
|
||||
tags = [
|
||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module github.com/metacubex/mihomo
|
||||
module github.com/abyss219/mihomo
|
||||
|
||||
go 1.20
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ linters-settings:
|
|||
gci:
|
||||
sections:
|
||||
- standard
|
||||
- prefix(github.com/metacubex/mihomo)
|
||||
- prefix(github.com/abyss219/mihomo)
|
||||
- default
|
||||
staticcheck:
|
||||
go: '1.19'
|
||||
|
|
|
@ -5,13 +5,13 @@ go 1.20
|
|||
require (
|
||||
github.com/docker/docker v20.10.21+incompatible
|
||||
github.com/docker/go-connections v0.4.0
|
||||
github.com/metacubex/mihomo v0.0.0
|
||||
github.com/abyss219/mihomo v0.0.0
|
||||
github.com/miekg/dns v1.1.57
|
||||
github.com/stretchr/testify v1.8.4
|
||||
golang.org/x/net v0.18.0
|
||||
)
|
||||
|
||||
replace github.com/metacubex/mihomo => ../
|
||||
replace github.com/abyss219/mihomo => ../
|
||||
|
||||
require (
|
||||
github.com/3andne/restls-client-go v0.1.6 // indirect
|
||||
|
|
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||
|
||||
package mihomo.transport.vless;
|
||||
option csharp_namespace = "Mihomo.Transport.Vless";
|
||||
option go_package = "github.com/metacubex/mihomo/transport/vless";
|
||||
option go_package = "github.com/abyss219/mihomo/transport/vless";
|
||||
option java_package = "com.mihomo.transport.vless";
|
||||
option java_multiple_files = true;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue