unixpickle / gobfuscate

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

Package not found #38

Open PhotoKevin opened 4 years ago

PhotoKevin commented 4 years ago

I'm trying to obfuscate the dnscrypt-proxy for, well, reasons that aren't important. I've placed it in: C:\Users\kevin\go\src\github.com\DNSCrpt\dnscrypt-proxy and it builds fine. go build -ldflags="-s -w" -mod vendor

Now I try to gobfuscate it: C:\Users\kevin\go\src>gobfuscate github.com\DNSCrpt\dnscrypt-proxy outxxx 2020/07/07 13:36:14 Copying GOPATH... Failed to copy into a new GOPATH: package github.com\DNSCrpt\dnscrypt-proxy not found

GOPATH seems ok: C:\Users\kevin\go\src>set gopath GOPATH=C:\Users\kevin\go

I used filename completion to ensure I didn't make any typos, but here's a dir:

C:\Users\kevin\go\src>dir github.com\DNSCrpt\dnscrypt-proxy Volume in drive C is OS Volume Serial Number is 080E-F589

Directory of C:\Users\kevin\go\src\github.com\DNSCrpt\dnscrypt-proxy

07/07/2020 01:34 PM

. 07/07/2020 01:34 PM .. 07/07/2020 01:18 PM testdata 07/06/2020 11:19 AM 3,736 common.go 07/06/2020 11:19 AM 32,561 config.go (and so on)

I suspect stupid user error on my part, but I'm befuddled.

rodjunger commented 2 years ago

Did you ever fix this?

PhotoKevin commented 2 years ago

I never found a fix.

gvillegass commented 1 year ago

never never? xd