cyx@cyx:~/桌面/CCHv2/node-webkit-v0.9.0-linux-x64$ ./nw CCHv2
[21435:1117/112250:INFO:gpu_info_collector_x11.cc(80)] NVCtrl extension does not exist.
[21435:1117/112250:INFO:CONSOLE(7)] "Uncaught SyntaxError: Unexpected token =", source: file:///home/cyx/%E6%A1%8C%E9%9D%A2/CCHv2/node-webkit-v0.9.0-linux-x64/CCHv2/js/highlight.min.js (7)
[21435:1117/112250:INFO:CONSOLE(1)] ""highlight.js not detected!"", source: file:///home/cyx/%E6%A1%8C%E9%9D%A2/CCHv2/node-webkit-v0.9.0-linux-x64/CCHv2/js/highlightjs-line-numbers.js (1)
[21435:1117/112250:INFO:CONSOLE(24)] ""Switched to Website Mode"", source: file:///home/cyx/%E6%A1%8C%E9%9D%A2/CCHv2/node-webkit-v0.9.0-linux-x64/CCHv2/index.html (24)
[21435:1117/112250:INFO:CONSOLE(1262)] "Uncaught ReferenceError: initStyle is not defined", source: file:///home/cyx/%E6%A1%8C%E9%9D%A2/CCHv2/node-webkit-v0.9.0-linux-x64/CCHv2/index.html (1262)
下载的是 v0.9.0 的 linux x64 版本的 nwjs,CCHv2 是在虎的洛谷私题仓库下载的。
感觉是要解决 [21435:1117/112250:INFO:gpu_info_collector_x11.cc(80)] NVCtrl extension does not exist.,但是没查到具体的解决方案,有的方案过时了/yun