asticode / go-astilectron-demo

Discover the power of Astilectron through a demo app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bundling for windows failed

Himantono opened this issue · comments

I have tried to build the demo. During the bundling with astilectron-bundler -v we get the following error:
{"level":"fatal","msg":"bundling failed: bundling for environment windows/386 fa
iled: building failed: # go-astilectron-demo\n.\bind_windows_386.go:537:34: Ass
et redeclared in this block\n\tprevious declaration at .\bind.go:3:34\n.\bind_
windows_386.go:623:39: AssetDir redeclared in this block\n\tprevious declaration
at .\bind.go:7:39\n.\bind_windows_386.go:728:38: RestoreAssets redeclared in
this block\n\tprevious declaration at .\bind.go:11:38\n: exit status 2","time":
"2018-07-05T16:27:14+02:00"}

What we can do for helping this?

Thank you.

Never mind. It is build. Just remove the declaration in the bind.go.