Open TheWhiteDog9487 opened 5 months ago
你可以創建快捷啟動並自行放到WINDOWS自啟資料夾中
写个bat批处理, 用Windows Terminal
@echo off
wt -w 0 nt cmd /c "你的客户端路径"; nt cmd /c "你的服务端路径"
比如
@echo off
wt -w 0 nt cmd /c "D:\foo\start_client.exe"; nt cmd /c "D:\foo\start_server.exe"
然后开机自启这个bat
写个bat批处理, 用Windows Terminal
@echo off wt -w 0 nt cmd /c "你的客户端路径"; nt cmd /c "你的服务端路径"
比如
@echo off wt -w 0 nt cmd /c "D:\foo\start_client.exe"; nt cmd /c "D:\foo\start_server.exe"
然后开机自启这个bat
这样是能自启了,但是还是会有前台诶
@TheWhiteDog9487 试试我这个GUI,不显示在任务栏,可以显示托盘图标 https://github.com/HaujetZhao/CapsWriter-Offline/pull/53
我的想法是,提供一个程序或脚本,直接把服务器和客户端注册成一个服务,实现开机自启。 每次要手动开,而且任务栏会有多余的图标,很难受