mmadfox / go-crx3

Chrome browser extension tools. Provides a set of tools packing, unpacking, zip, unzip, download, etc.
Apache License 2.0
27 stars 8 forks source link

Installed and got "crx3: command not found" #3

Closed PacoH closed 11 months ago

PacoH commented 11 months ago
go install github.com/mediabuyerbot/go-crx3/crx3@latest
go: downloading github.com/mediabuyerbot/go-crx3 v1.4.0
go: downloading github.com/spf13/cobra v1.3.0
go: downloading google.golang.org/protobuf v1.28.1
crx3 download https://chrome.google.com/webstore/detail/amazon-tag-remover/mmajdhfdokfcaiadahjnffhbfjfkmcnc`
-bash: crx3: command not found
go list crx3
package crx3 is not in GOROOT (/usr/local/Cellar/go/1.20.1/libexec/src/crx3)
mmadfox commented 11 months ago

hi, try this

$ mkdir ~/tmp
$ cd ~/tmp 
$ git clone git@github.com:mmadfox/go-crx3.git 
$ cd go-crx3 
$ go build -o crx3 crx3/main.go 
$ ./crx3
mmadfox commented 11 months ago

OR look here /usr/local/Cellar/go/1.20.1/bin

mmadfox commented 11 months ago

The binary can be downloaded from here:

https://github.com/mmadfox/go-crx3/releases/tag/v1.4.1
PacoH commented 11 months ago

Thanks for the reply.

git clone @.:mmadfox/go-crx3.git Cloning into 'go-crx3'... @.: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

On Sep 21, 2023, at 7:45 AM, mmadfox @.***> wrote:

hi, try this

$ mkdir ~/tmp $ cd ~/tmp $ git clone @.***:mmadfox/go-crx3.git $ cd go-crx3 $ go build -o crx3 crx3/main.go — Reply to this email directly, view it on GitHub https://github.com/mmadfox/go-crx3/issues/3#issuecomment-1729734334, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPDHT3RI5UKYXPMXBDU363X3RHJ3ANCNFSM6AAAAAA5AAY7VE. You are receiving this because you authored the thread.

mmadfox commented 11 months ago

Sorry, I incorrectly specified the link to the repository. Here's the right one

https://github.com/mmadfox/go-crx3.git

$ mkdir ~/tmp
$ cd ~/tmp 
$ git clone https://github.com/mmadfox/go-crx3.git
$ cd go-crx3 
$ go build -o crx3 crx3/main.go 
$ ./crx3