Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有国内安装方式吗? #26

Closed
hkcyl123 opened this issue May 13, 2022 · 17 comments
Closed

有国内安装方式吗? #26

hkcyl123 opened this issue May 13, 2022 · 17 comments

Comments

@hkcyl123
Copy link

用go install github.com/modernizing/coca@latest 安装 超时了

@phodal
Copy link
Owner

phodal commented May 13, 2022

直接 release 里下载 exe 不香?

@hkcyl123
Copy link
Author

是我傻逼了

@hkcyl123
Copy link
Author

m1 版本的话,我直接下mac_os 加上 dmg后缀?
我需要怎么做

@phodal
Copy link
Owner

phodal commented May 13, 2022

咦,没试过,m1,不确定能不能工作

@hkcyl123
Copy link
Author

试试啰,我下了mac版本的,但是提示打不开,我需要怎么做呢?

@phodal
Copy link
Owner

phodal commented May 13, 2022

mac_os 那个是个 CLI 应用,需要在命令行里执行。我看了网上说要更新 Golang 版本,就可以了

@hkcyl123
Copy link
Author

具体命令是咋样的。。刚换的电脑,还没摸透

@phodal
Copy link
Owner

phodal commented May 13, 2022

CLI 应用。你把 coca_macos 改为 coca,命令见 README.md

@hkcyl123
Copy link
Author

了解了,谢谢

phodal added a commit that referenced this issue May 13, 2022
@phodal
Copy link
Owner

phodal commented May 13, 2022

不行的话,可以试一下 2.3.0 版本,使用提 Go 1.18 构建的:https://github.com/modernizing/coca/releases/tag/v2.3.0

@hkcyl123
Copy link
Author

emmm,这个需要配置环境变量吗?把他放到桌面,然后sudo跑,提示的是command not found

@phodal
Copy link
Owner

phodal commented May 13, 2022

直接 ./coca 就好了

@hkcyl123
Copy link
Author

就很尴尬

@hkcyl123
Copy link
Author

东西我也放在桌面并且改好名字了

@phodal
Copy link
Owner

phodal commented May 13, 2022

没有 chmod +x

@hkcyl123
Copy link
Author

好了,谢谢大佬

@phodal
Copy link
Owner

phodal commented May 13, 2022

X

@phodal phodal closed this as completed May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants