EasyTier / EasyTier/easytier-manager
[BUG]无法安装服务
- Dominant language
- Vue
- Stars
- 278
- Forks
- 38
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 1
Description
### App 版本
3.0.4
### 内核版本
easytier-cli 2.1.2-2769cabc
### Windows版本和版本号
win10 企业版(LTSC) 21H2
### 问题描述
无法将配置文件安装为服务,显示安装服务正常,实际启动后显示未找到服务,看了服务面板确实是这样。单独运行配置的话是正常的,可能跟配置没关系。


### 重现步骤
无,安装了三台电脑,只有一台电脑出现这个问题,另外两台都是正常的,系统版本也是一样的。有问题的这台,安装路径既没有中文也没有空格。猜测是这台电脑某些设置有问题,但是没找到在哪。

### 期待的正确结果
_No response_
### 相关日志输出
```shell
[2025-01-19][10:44:56][webview:De@http://tauri.localhost/assets/index-DXFh3H8S.js:239:5963][INFO] 安装服务:{"configFileName":"lion","fileName":"lion.toml"}
[2025-01-19][10:44:57][webview:@http://tauri.localhost/assets/shellUtil-CqcD1WI6.js:3:445][INFO] 服务是否存在:"Can't open service!\r\r\nOpenService(): The specified service does not exist as an installed service."
[2025-01-19][10:44:57][webview:@http://tauri.localhost/assets/index-DXFh3H8S.js:239:6399][INFO] 服务安装:true
[2025-01-19][10:48:49][reqwest::connect][DEBUG] starting new connection: http://web-proxy.cheng.us.kg/
[2025-01-19][10:49:09][tao::platform_impl::platform::event_loop::runner][WARN] NewEvents emitted without explicit RedrawEventsCleared
[2025-01-19][10:49:09][tao::platform_impl::platform::event_loop::runner][WARN] RedrawEventsCleared emitted without explicit MainEventsCleared
[2025-01-19][10:50:41][webview:De@http://tauri.localhost/assets/index-DXFh3H8S.js:239:5963][INFO] 安装服务:{"configFileName":"lion","fileName":"lion.toml"}
[2025-01-19][10:50:42][webview:@http://tauri.localhost/assets/shellUtil-CqcD1WI6.js:3:445][INFO] 服务是否存在:"Can't open service!\r\r\nOpenService(): The specified service does not exist as an installed service."
[2025-01-19][10:50:42][webview:@http://tauri.localhost/assets/index-DXFh3H8S.js:239:6399][INFO] 服务安装:true
[2025-01-19][11:01:07][webview:De@http://tauri.localhost/assets/index-DXFh3H8S.js:239:5963][INFO] 安装服务:{"configFileName":"lion","fileName":"lion.toml","serviceStatus":"未知"}
[2025-01-19][11:01:09][webview:@http://tauri.localhost/assets/shellUtil-CqcD1WI6.js:3:445][INFO] 服务是否存在:"Can't open service!\r\r\nOpenService(): The specified service does not exist as an installed service."
[2025-01-19][11:01:09][webview:@http://tauri.localhost/assets/index-DXFh3H8S.js:239:6399][INFO] 服务安装:true
[2025-01-19][11:06:07][webview:ne@http://tauri.localhost/assets/index-CsibHNsX.js:2:2940][INFO] 开始运行配置:lion.toml
[2025-01-19][11:06:07][webview:rt@http://tauri.localhost/assets/shellUtil-CqcD1WI6.js:1:1509][INFO] 运行结果:2800
[2025-01-19][11:06:07][webview:@http://tauri.localhost/assets/index-CsibHNsX.js:2:3006][INFO] 运行配置结果:"2800"
[2025-01-19][11:06:19][webview:ce@http://tauri.localhost/assets/index-CsibHNsX.js:2:3363][INFO] 停止运行配置:lion
[2025-01-19][11:06:19][webview:tt@http://tauri.localhost/assets/shellUtil-CqcD1WI6.js:1:1910][INFO] 进程 2800 已终止
[2025-01-19][11:06:24][webview:De@http://tauri.localhost/assets/index-DXFh3H8S.js:239:5963][INFO] 安装服务:{"configFileName":"lion","fileName":"lion.toml","serviceStatus":"未知"}
[2025-01-19][11:06:25][webview:@http://tauri.localhost/assets/shellUtil-CqcD1WI6.js:3:1658][INFO] 启动服务:"Can't open service!\r\r\nOpenService(): The specified service does not exist as an installed service."
[2025-01-19][11:06:26][webview:@http://tauri.localhost/assets/shellUtil-CqcD1WI6.js:3:445][INFO] 服务是否存在:"Can't open service!\r\r\nOpenService(): The specified service does not exist as an installed service."
[2025-01-19][11:06:26][webview:@http://tauri.localhost/assets/index-DXFh3H8S.js:239:6399][INFO] 服务安装:true
[2025-01-19][11:06:33][webview:ne@http://tauri.localhost/assets/index-CsibHNsX.js:2:2940][INFO] 开始运行配置:lion.toml
[2025-01-19][11:06:33][webview:rt@http://tauri.localhost/assets/shellUtil-CqcD1WI6.js:1:1509][INFO] 运行结果:4708
[2025-01-19][11:06:33][webview:@http://tauri.localhost/assets/index-CsibHNsX.js:2:3006][INFO] 运行配置结果:"4708"
[2025-01-19][11:07:34][webview:ce@http://tauri.localhost/assets/index-CsibHNsX.js:2:3363][INFO] 停止运行配置:lion
[2025-01-19][11:07:34][webview:tt@http://tauri.localhost/assets/shellUtil-CqcD1WI6.js:1:1910][INFO] 进程 4708 已终止
[2025-01-19][11:07:38][webview:De@http://tauri.localhost/assets/index-DXFh3H8S.js:239:5963][INFO] 安装服务:{"configFileName":"lion","fileName":"lion.toml","serviceStatus":"未知"}
[2025-01-19][11:07:40][webview:@http://tauri.localhost/assets/shellUtil-CqcD1WI6.js:3:445][INFO] 服务是否存在:"Can't open service!\r\r\nOpenService(): The specified service does not exist as an installed service."
[2025-01-19][11:07:40][webview:@http://tauri.localhost/assets/index-DXFh3H8S.js:239:6399][INFO] 服务安装:true
[2025-01-19][11:07:54][webview:@http://tauri.localhost/assets/shellUtil-CqcD1WI6.js:3:1658][INFO] 启动服务:"Can't open service!\r\r\nOpenService(): The specified service does not exist as an installed service."
```
### 附加信息
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.