phyrox-portable icon indicating copy to clipboard operation
phyrox-portable copied to clipboard

Build Process

Open CemHyur opened this issue 1 year ago • 0 comments

Where can get detailed building steps and build process?

.

Edit1: I tried to build, but it's getting error at: main.go:274:17: undefined: mozLz4Decompress main.go:287:17: undefined: mozLz4Compress

Don't know where am mistaking. Coz i had tried phyrox-esr-portable also, but still getting same error.

Here is PS output:

PS C:> go version go version go1.20.14 windows/amd64 PS C:> cd C:\go-work\pkg\mod\github.com\portapps\phyrox-esr-portable-115.0-61 PS C:\go-work\pkg\mod\github.com\portapps\phyrox-esr-portable-115.0-61> go build .\main.go go: downloading github.com/Jeffail/gabs v1.4.0 go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/portapps/portapps/v3 v3.8.0 go: downloading github.com/ilya1st/rotatewriter v0.0.0-20171126183947-3df0c1a3ed6d go: downloading github.com/mitchellh/mapstructure v1.5.0 go: downloading github.com/rs/zerolog v1.29.1 go: downloading golang.org/x/sys v0.9.0 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/go-ole/go-ole v1.2.6 go: downloading github.com/mattn/go-colorable v0.1.12 go: downloading github.com/mattn/go-isatty v0.0.14' '# command-line-arguments' .\main.go:274:17: undefined: mozLz4Decompress .\main.go:287:17: undefined: mozLz4Compress PS C:\go-work\pkg\mod\github.com\portapps\phyrox-esr-portable-115.0-61>

.

Edit2: After cheking main.go and mozlz.go, I got that I have to run both at a time. So after searching on web, got it.

PS C:> go version go version go1.20.14 windows/amd64 PS C:> cd C:\go-work\pkg\mod\github.com\portapps\phyrox-esr-portable-115.0-61 PS C:\go-work\pkg\mod\github.com\portapps\phyrox-esr-portable-115.0-61> go build . PS C:\go-work\pkg\mod\github.com\portapps\phyrox-esr-portable-115.0-61>

It's working and generating "phyrox-esr-portable.exe", but without Icon and Description and also when running it, shows error that portapps.json not avaible at location. Can anyone help with this? How to get portapps.json and also Icon of exe.

CemHyur avatar Aug 23 '24 12:08 CemHyur