Open anlonely opened 6 months ago
我使用powershell \np-cli.exe --conf remote.yaml 运行它可以, 但是每次远程的时候都会弹出一个终端窗口。可以无痕运行吗?
注册服务 sc.exe create natService binPath= "C:\natpass_0.13.0_windows_386\natpass_0.13.0\np-cli.exe --conf remote.yaml" start= auto
注册后无法启动该服务。win11系统
请参考文档:https://github.com/lwch/natpass/blob/master/docs/startup.md#%E6%B3%A8%E5%86%8C%E7%B3%BB%E7%BB%9F%E6%9C%8D%E5%8A%A1%E5%8F%AF%E9%80%89
文档也没有无痕运行和注册Windows服务的相关配置呀...
启动时通过-action install参数注册系统服务,然后就可以在系统服务中找到np-cli进行后续操作
我使用powershell \np-cli.exe --conf remote.yaml 运行它可以, 但是每次远程的时候都会弹出一个终端窗口。可以无痕运行吗?
注册服务 sc.exe create natService binPath= "C:\natpass_0.13.0_windows_386\natpass_0.13.0\np-cli.exe --conf remote.yaml" start= auto
注册后无法启动该服务。win11系统