Skip to content

Commit bdd33d1

Browse files
committed
fix action 2022-10-05
1 parent 788be64 commit bdd33d1

File tree

5 files changed

+4
-101
lines changed

5 files changed

+4
-101
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
- name: Install Dependences
2424
run: |
2525
brew install libpcap upx
26+
chmod +x .github/workflows/upx.sh
2627
# git submodule update --init --recursive --remote
2728
- name: Run GoReleaser
2829
uses: goreleaser/goreleaser-action@v2
@@ -49,6 +50,7 @@ jobs:
4950
- name: Install Dependences
5051
run: |
5152
sudo apt install -yy libpcap-dev upx gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
53+
chmod +x .github/workflows/upx.sh
5254
# git submodule update --init --recursive --remote
5355
- name: Run GoReleaser
5456
uses: goreleaser/goreleaser-action@v2

.github/workflows/upx.sh

100644100755
File mode changed.

config/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"FollowRedirects": false,
101101
"MaxRedirects": 3
102102
},
103-
"enableEsSv": false,
103+
"enableEsSv": true,
104104
"CheckWeakPassword": false,
105105
"esthread": 8,
106106
"hydrathread": 64,

config/config_me.json

Lines changed: 0 additions & 98 deletions
This file was deleted.

main.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88
"log"
99
"net/http"
1010
_ "net/http/pprof"
11-
"os"
1211
"runtime"
1312
"runtime/debug"
1413
)
@@ -22,7 +21,7 @@ var config embed.FS
2221
var Version string
2322

2423
func main() {
25-
os.Args = []string{"", "-host", "http://127.0.0.1", "-v"}
24+
//os.Args = []string{"", "-host", "http://127.0.0.1", "-v"}
2625
runtime.GOMAXPROCS(runtime.NumCPU())
2726
util.DoInit(&config)
2827
// set version

0 commit comments

Comments
 (0)