diff --git a/.gitignore b/.gitignore index 9dfce23..6fe062a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,4 @@ # Binaries for programs and plugins -*.exe -*.exe~ *.dll *.so *.dylib diff --git a/README.md b/README.md index 84faa07..694518f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,13 @@ # fileSync 同步文件更改相关 # go windows下程序运行隐藏dos窗口 - go build -ldflags -H=windowsgui + go build -ldflags "-a -s -w -H=windowsgui" + start ./upx396/upx.exe --best fileSync.exe + +# linux 编译 + go build -ldflags "-a -s -w" + ./upx396/upx --best fileSync + + + diff --git a/fileSync.exe b/fileSync.exe new file mode 100644 index 0000000..173b584 Binary files /dev/null and b/fileSync.exe differ diff --git a/upx396/upx b/upx396/upx new file mode 100644 index 0000000..0b2ca48 Binary files /dev/null and b/upx396/upx differ diff --git a/upx396/upx.exe b/upx396/upx.exe new file mode 100644 index 0000000..436082b Binary files /dev/null and b/upx396/upx.exe differ