Skip to content

Commit

Permalink
v20240408
Browse files Browse the repository at this point in the history
  • Loading branch information
txthinking committed Apr 8, 2024
1 parent 7cf4d83 commit eb9101b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ require (
golang.org/x/net v0.17.0 // indirect
golang.org/x/sys v0.13.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.31.0 // indirect
google.golang.org/protobuf v1.33.0 // indirect
)
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,7 @@ google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp0
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8=
google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI=
google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/urfave/cli/v2"
)

var version = "20231101"
var version = "20240408"

func main() {
app := cli.NewApp()
Expand Down
1 change: 1 addition & 0 deletions package/httpserver.tengo
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ if is_error(err) {

got := false
if nami.os == "darwin" && nami.arch == "arm64" {
got = true
err := nami.sh(`curl`, `-L`, `--progress-bar`, `https://github.com/txthinking/httpserver/releases/latest/download/httpserver_darwin_arm64`, `-o`, text.join([nami.cache_dir, "httpserver"], os.path_separator))
if is_error(err) {
fmt.println(err)
Expand Down
2 changes: 1 addition & 1 deletion package/nvim.tengo
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if is_error(err) {
s := ""
if nami.os == "linux" && nami.arch == "amd64" {
s = "nvim-linux64"
err = nami.sh("sh", "-c", fmt.sprintf(`curl -L --progress-bar https://github.com/neovim/neovim/releases/latest/download/${s}.tar.gz -o /tmp/_.tgz`, s))
err = nami.sh("sh", "-c", fmt.sprintf(`curl -L --progress-bar https://github.com/neovim/neovim/releases/latest/download/%s.tar.gz -o /tmp/_.tgz`, s))
if is_error(err) {
fmt.println(err)
os.exit(1)
Expand Down

0 comments on commit eb9101b

Please sign in to comment.