unixpickle / gobfuscate

Obfuscate Go binaries and packages
BSD 2-Clause "Simplified" License
1.45k stars 157 forks source link

Usage instructions unclear #53

Open scirpter opened 1 year ago

scirpter commented 1 year ago

1

go get -u github.com/unixpickle/gobfuscate

Worked.

2

gobfuscate ./src ./bin

'gobfuscate' is not recognized as an internal or external command, operable program or batch file.

Tried using the compiled binary via go install:

C:\Users\0\Desktop\$\dev\Go\Gobfuscate> .\gobfuscate ./src ./bin 2023/03/27 21:48:07 Copying GOPATH... Failed to copy into a new GOPATH: import "./src": import relative to unknown directory
Note: Setting GO111MODULE env variable to off may resolve the above error.

Set the GO111MODULE to off via set GO111MODULE=off

C:\Users\0\Desktop\$\dev\Go\Gobfuscate> .\gobfuscate ./src ./bin 2023/03/27 21:48:07 Copying GOPATH... Failed to copy into a new GOPATH: import "./src": import relative to unknown directory
Note: Setting GO111MODULE env variable to off may resolve the above error.

How?