diff --git a/.github/workflows/go-build.yaml b/.github/workflows/go-build.yaml index cfe82c9bd..45c194643 100644 --- a/.github/workflows/go-build.yaml +++ b/.github/workflows/go-build.yaml @@ -70,7 +70,7 @@ jobs: - name: Build warp-plus run: | - go build -v -o build_assets/ -trimpath -ldflags "-s -w -buildid= -X main.version=${{ github.ref }}" . + go build -v -o build_assets/ -trimpath -ldflags "-s -w -buildid= -X main.version=${{ github.ref }}" ./cmd/warp-plus - name: Copy README.md & LICENSE run: | diff --git a/.gitignore b/.gitignore index 598578b8e..007a6883f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ -warp-plus -warp-plus.exe +/warp-plus +/warp-plus.exe .idea stuff/ +wintun.dll diff --git a/main.go b/cmd/warp-plus/main.go similarity index 99% rename from main.go rename to cmd/warp-plus/main.go index 893c0c481..b928102bf 100644 --- a/main.go +++ b/cmd/warp-plus/main.go @@ -12,8 +12,6 @@ import ( "syscall" "time" - _ "net/http/pprof" - "github.com/adrg/xdg" "github.com/bepass-org/warp-plus/app" "github.com/bepass-org/warp-plus/warp"