Closed mewmew closed 6 years ago
Ok, I tried to verify if the issue was caused by having multiple GOPATH:s, and it seems to be the case. I've updated the issue title accordingly.
u@x220 ~/g/s/g/a/go-astilectron-demo> /bin/bash
export[u@x220 go-astilectron-demo]$ export GOPATH=/home/u/goget
[u@x220 go-astilectron-demo]$ astilectron-bundler -v
DEBU[0000] Resetting
DEBU[0000] Creating /tmp/astibundler
DEBU[0000] Creating /home/u/goget/src/github.com/asticode/go-astilectron-demo/output
DEBU[0000] Bundling for environment linux/amd64
DEBU[0000] Removing /home/u/goget/src/github.com/asticode/go-astilectron-demo/output/linux-amd64
DEBU[0000] Creating /home/u/goget/src/github.com/asticode/go-astilectron-demo/output/linux-amd64
DEBU[0000] Binding data
DEBU[0000] Removing /home/u/goget/src/github.com/asticode/go-astilectron-demo/vendor
DEBU[0000] Creating /home/u/goget/src/github.com/asticode/go-astilectron-demo/vendor
DEBU[0000] /tmp/astibundler/astilectron-0.14.0.zip already exists, skipping download of https://github.com/asticode/astilectron/archive/v0.14.0.zip
DEBU[0000] Copying /tmp/astibundler/astilectron-0.14.0.zip to /home/u/goget/src/github.com/asticode/go-astilectron-demo/vendor/astilectron.zip
DEBU[0000] /tmp/astibundler/electron-linux-amd64-1.8.1.zip already exists, skipping download of https://github.com/electron/electron/releases/download/v1.8.1/electron-v1.8.1-linux-x64.zip
DEBU[0000] Copying /tmp/astibundler/electron-linux-amd64-1.8.1.zip to /home/u/goget/src/github.com/asticode/go-astilectron-demo/vendor/electron.zip
DEBU[0000] Generating /home/u/goget/src/github.com/asticode/go-astilectron-demo/bind_linux_amd64.go
DEBU[0003] Building for os linux and arch amd64
DEBU[0003] Executing go build -ldflags -s -X "main.AppName=Astilectron demo" -X "main.BuiltAt=2017-12-05 21:49:37.356429987 +0100 CET m=+3.150384134" -o /home/u/goget/src/github.com/asticode/go-astilectron-demo/output/linux-amd64/binary github.com/asticode/go-astilectron-demo
DEBU[0012] Moving /home/u/goget/src/github.com/asticode/go-astilectron-demo/output/linux-amd64/binary to /home/u/goget/src/github.com/asticode/go-astilectron-demo/output/linux-amd64/Astilectron demo
Btw, cool demo! : )
@mewmew thanks for letting me know.
I've pushed a correction. Can you pull
it, make
the bundler again and tell me if that's better with your multiple GOPATHs?
It works now. Thanks for the fix!
Hi,
I was hoping to try out the demo, and ran through the step by step installation instructions. However, on step 3 I received the following error message.
May this be related to me having multiple GOPATH:s?
Cheers, /u