stunndard / golangwin7patch

Binary patcher for Go programs on Windows 7 / Server 2008
34 stars 4 forks source link

Doesn't work! #3

Closed KiddoV closed 2 months ago

KiddoV commented 2 months ago

My app is built with Wails. I also use NPX when compile the Go app.

I got this error when trying your patcher:

couldn't find the required data to patch
file not changed.

Can u tell what is wrong?

stunndard commented 2 months ago

You don't want to use UPX, as packed or protected executables cannot be patched. You can, however, patch it first and pack it after.

KiddoV commented 2 months ago

What do you mean by patch it first and pack it after?

stunndard commented 2 months ago

Do not use UPX and the patcher will work. You can still use UPX after the patching is done.

KiddoV commented 2 months ago

Got it. Thanks!