Code Monkey home page Code Monkey logo

Comments (3)

89luca89 avatar 89luca89 commented on June 14, 2024

Hi @hamstah

I can reproduce this issue by compiling pakkero simply using go build

As you can see here: https://github.com/89luca89/pakkero#install

After downloading the source either using git or go get, you have to compile in a specific way

cd $GOPATH/src/github.com/89luca89/pakkero;
 make

and the resulting binary will be in dist

This is needed because during compilation time (excluding things like upx and strip) a foundamental step is that the Launcher.go has to be injected inside the pakkero binary at compilation time.

It is done using -ldflags="-X github.com/89luca89/pakkero/internal/pakkero.LauncherStub=$$(base64 -w0 data/launcher.go) -s" inside the compilation flags.

As you can see, compiling with go build alone (or using the binary that go get builds itself`) your issue is reproduced:

Screenshot from 2021-01-20 20-06-04

Following the README:

Screenshot from 2021-01-20 20-07-29

Let me know if you resolved :)

Bye

from pakkero.

hamstah avatar hamstah commented on June 14, 2024

Hey,

So what I did was using go get which gave me a binary in $GOPATH/bin/pakkero and this one has the issue.
I then followed the install instruction and built with make, then tried and had the same error.

I just tried again now and it worked, I think I probably didn't properly set my path or something and was still using the old binary in $GOPATH instead as I just double checked now and the one I built and put in my path actually works.

Sorry for the hassle, late night brain messed up somewhere but don't have the log anymore :)

All good now though, thanks for the help anyway, really appreciate it.

from pakkero.

89luca89 avatar 89luca89 commented on June 14, 2024

No problem! Glad it worked out, if you have any suggestion or improvements to suggest don't hesitate to open new issues!
Bye!

from pakkero.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.