默认的在x64草走系统里编译得到的路径为:
go build -x -v -o bin\windows_amd64\xxx.exe src\main.go
修改方法:
Sublime\Data\Packages\Go Build\GoBuild.py 89行:
#output = os.path.join("bin", getArch(), project_name + ".exe") output = os.path.join("bin", "windows_386", project_name + ".exe")
把getArch换成:windows_386即可
有疑问加站长微信联系(非本文作者)