Skip to content

Commit

Permalink
run cli
Browse files Browse the repository at this point in the history
  • Loading branch information
bitepeng committed Nov 1, 2019
1 parent ed4951b commit c87943a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/script/build-develop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cd src/${APPNAME}
CGO_ENABLED="0" GOARCH="amd64" GOOS="darwin" go build -mod=vendor -o ${GOPATH}/bin/${APPNAME}/${APPNAME}_mac_cli cli.go

##### win32 os ##### -ldflags "-H windowsgui"
CGO_ENABLED="0" GOARCH="386" GOOS="windows" go build -mod=vendor -o ${GOPATH}/bin/${APPNAME}/${APPNAME}_win32_cli.exe cli.go
# CGO_ENABLED="0" GOARCH="386" GOOS="windows" go build -mod=vendor -o ${GOPATH}/bin/${APPNAME}/${APPNAME}_win32_cli.exe cli.go

##### linux os #####
CGO_ENABLED="0" GOARCH="amd64" GOOS="linux" go build -mod=vendor -o ${GOPATH}/bin/${APPNAME}/${APPNAME}_linux_cli cli.go
Expand Down
3 changes: 3 additions & 0 deletions docs/script/run.linux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

nohup ./b0pass_linux_cli &

0 comments on commit c87943a

Please sign in to comment.