提交 44358731 authored 作者: yangli's avatar yangli

.

上级 aef8a52b
...@@ -61,7 +61,7 @@ public class RemoteControlController { ...@@ -61,7 +61,7 @@ public class RemoteControlController {
.findFirst() .findFirst()
.map(m -> m.get("path")) .map(m -> m.get("path"))
.orElse(null); .orElse(null);
if (StrUtil.isBlank(path)) return R.error("未安装UltraVNC"); if (StrUtil.isBlank(path)) return R.error("未检测到UltraVNC,请先安装");
File file = new File(path + "ultravnc.ini"); File file = new File(path + "ultravnc.ini");
ConfigParser configParser = new ConfigParser(); ConfigParser configParser = new ConfigParser();
configParser.read(file); configParser.read(file);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论