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

编译与测试Windows版本 #3

Open
0neSe7en opened this issue Mar 18, 2019 · 6 comments
Open

编译与测试Windows版本 #3

0neSe7en opened this issue Mar 18, 2019 · 6 comments
Labels
help wanted Extra attention is needed

Comments

@0neSe7en
Copy link
Owner

No description provided.

@0neSe7en 0neSe7en added the help wanted Extra attention is needed label Mar 18, 2019
@mogeko
Copy link
Contributor

mogeko commented Mar 22, 2019

我尝试在Windows环境下编译了jikefm,听歌正常(能出声),无法登陆(登陆二维码显示不了),主要是中文显示上的问题。

我的系统信息:

  • 系统:Windows 专业版 1803
  • CPU:Intel 64位
  • go version:go1.12.1 windows/amd64

测试中遇到的问题:

  1. 登陆二维码无法显示。(因为没法登陆所以需要登陆的功能都没法测试)
    Snipaste_2019-03-22_16-17-31
  2. 中文无法完整显示,左栏中的中文内容要将光标移动到相关项目上才能正常显示,右边的介绍一闪而过(左栏的光标移动到项目上时显示一秒然后就没了)
    Snipaste_2019-03-22_16-14-53

@0neSe7en
Copy link
Owner Author

可以在Windows上运行 https://github.com/rivo/tview 试下他的demo能否正常渲染。看起来UI部分对Powershell不太友好。

目前看来,可能在Windows环境中,只有WSL的体验会比较好吧。或者如果你感兴趣的话,可以提PR优化一下Powershell的体验...

@mogeko
Copy link
Contributor

mogeko commented Mar 22, 2019

我用CMD测试了一下,同样无法正常显示登陆二维码和中文
Snipaste_2019-03-22_09-01-26
Snipaste_2019-03-22_09-02-44

然后我又按照你说的去编译了一下 https://github.com/rivo/tview 的demo,果然有同样的问题
Snipaste_2019-03-22_09-13-31
Snipaste_2019-03-22_09-14-24
看来这个TUI可能对Windows平台下的中文支持的不怎么好,也可能是我电脑的问题😂

@0neSe7en
Copy link
Owner Author

估计不会是你电脑问题... 如果默认设置都没显示好的话... 那估计啥配置都没戏了

@mogeko
Copy link
Contributor

mogeko commented Mar 22, 2019

然后我又测试了一下在Linux系统下的编译和运行,除了 #4 提到的登录二维码太大的问题以及编译上的一点小坑以外没有什么别的问题
深度截图_选择区域_20190322182633
深度截图_选择区域_20190322182923

编译上有个小坑就是 hajimehoshi/oto 这个依赖需要依赖 libasound2-dev
可以通过 apt 进行安装:

apt install libasound2-dev

@0neSe7en
Copy link
Owner Author

编译上有个小坑就是 hajimehoshi/oto 这个依赖需要依赖 libasound2-dev

提一个PR,在文档里注明一下吧。我记得oto这个依赖和beep确实有在文档中提到 https://github.com/hajimehoshi/oto#linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants