upgit
upgit copied to clipboard
panic: clipboard: cannot use when CGO_ENABLED=0
請問:是macOS需要做權限方面的設定嗎?應如何解決?
[18:36:32] jerry ➜ ~/Documents » upgit :clipboard -f markdown-simple
panic: clipboard: cannot use when CGO_ENABLED=0
goroutine 1 [running]:
golang.design/x/clipboard.initialize(...)
/home/runner/go/pkg/mod/golang.design/x/[email protected]/clipboard_nocgo.go:9
golang.design/x/clipboard.Init(...)
/home/runner/go/pkg/mod/golang.design/x/[email protected]/clipboard.go:102
main.loadClipboard(0x12c2fe0?)
/home/runner/work/upgit/upgit/main.go:236 +0x66
main.main()
/home/runner/work/upgit/upgit/main.go:99 +0x41b
[18:40:12] jerry ➜ ~/Documents »
This issue should have been resolved. Please check if you have updated it to the latest version
After upgraded to the latest release, upgit responsed another message:
[17:45:24] jerry ➜ ~/Documents » upgit table-editor-3.png -f markdown-simple
open /Users/jerry/bin/extensions: no such file or directory%
[17:45:37] jerry ➜ ~/Documents »
upgit had been copied to ~/bin.
Note that for new version the config file layout is changed. And create extensions dir if required.
FYI: https://github.com/pluveto/upgit/blob/main/config.sample.toml
Thanks for your reply, i'll try again if i'm avaiable.