Compare commits

..

No commits in common. "master" and "v1.0.0" have entirely different histories.

4 changed files with 1 additions and 21 deletions

View File

@ -10,7 +10,7 @@ jobs:
uses: http://${{secrets.ACTION_ACCESS_GIT}}@git.lovezsh.com/actions/checkout@v4 uses: http://${{secrets.ACTION_ACCESS_GIT}}@git.lovezsh.com/actions/checkout@v4
- name: 设置go环境 - name: 设置go环境
uses: https://${{secrets.ACTION_ACCESS_GIT}}@git.lovezsh.com/actions/setup-go@v5 uses: https://github.com/actions/setup-go@v5
with: with:
go-version: "1.22.4" go-version: "1.22.4"

1
.gitignore vendored
View File

@ -1,3 +1,2 @@
bin bin
.swap .swap
.vscode

View File

@ -1,11 +0,0 @@
FROM golang:1.22.4-alpine3.20 as builder
WORKDIR /builder
COPY . .
RUN GOPROXY=https://goproxy.cn CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o nip cmd/main.go
FROM alpine:3.20
WORKDIR /app
COPY --from=builder /builder/nip .
ENTRYPOINT [ "/app/nip" ]

View File

@ -1,11 +1,3 @@
## 一、简介 ## 一、简介
这是一个用于个人科学上网的工具, 用来解决各种公共工具因协议特征被识别的问题。 这是一个用于个人科学上网的工具, 用来解决各种公共工具因协议特征被识别的问题。
## 二、下载
```bash
$ curl https://git.lovezsh.com/api/packages/lovezsh/generic/nip/v1.0.0/nip_linux_amd64 -o nip
$ chmod +x ./nip
$ mv ./nip /usr/bin/
```