基于fsnotify的文件监控模块,为eSync自动编译加载提供更改监听功能!
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
SisMaker 348134a6f9 ft: 不监听隐藏目录 il y a 2 jours
upx396 linux 执行文件添加 il y a 4 ans
.gitignore 压缩工具添加 il y a 4 ans
LICENSE 初始化 il y a 4 ans
README.md ft: fsnotify+go版本升级 il y a 2 ans
fileSync ft: 升级go 版本和 fsnotify 版本 il y a 1 an
fileSync.exe ft: 升级go 版本和 fsnotify 版本 il y a 1 an
fileSync.go ft: 不监听隐藏目录 il y a 2 jours

README.md

fileSync 同步文件更改相关

go windows下程序运行隐藏dos窗口

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

升级版本

先删除 go.mod go.sum 然后执行go mod init fileSync go mod tidy 然后编译