Win system Qinglong installation and deployment tutorial ------- click to jump
QQ exchange: 1014549449 -------------- Click to jump
1. Silly girl's source file modification part, explain again
The "core\init.go" file needs to be modified, as shown in the following figure (the modified code is shown in the figure)
2. Regarding the problem of silly girl not having a conf folder,
this is in the original tutorial. After go build, running sillygirl.exe automatically Generated, there is no such folder in the source code cloned by itself, the reason why it is generated after running is to confirm that there is no problem with the compilation
3. Regarding running
QQ robots and silly girls in the background, in fact, I don’t think there is any problem with hanging in the background. Here’s how to register as a service
Download the instsrv tool, which should contain two files, instsrv.exe and srvany.exe, and extract them to any directory. Here we take the E drive as an example.
instsrv.exe sillygirl e:\srvany.exe
Then start - run - regedit to open the registry
enter the following
计算机\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\sillygirl
Right-click, create a new-"Item", name it "Parameters", and then in the newly created "Parameters" item, create 2 "String Values" named "AppDirectory", "Application",
Application 值为程序的执行路径,如D:\sillyGirl\
AppDirectory 值为程序的所在路径,如D:\\sillyGirl\sillyGirl.exe
After completion, enter the service, open the silentgirl service, check Allow desktop interaction, select restart after failure,
and then start the service as shown in the following figure, which realizes the self-starting and background operation of the silentgirl service, and also takes into account the service guardian, cq-http The robot service is done in the same way. If the qq robot cannot give feedback, stop the service and run the exe program of cq-http in cmd. After logging in again, close cmd, restart the service, and it will be resident in the background.
Note: Although the sc create command can create a service, the startup has always failed, because sillygirl.exe is not a standard service program, so this command cannot be created
4. Nolan startup error report
First make sure to clone the library, then the local directory of docker is in the clone library, and finally confirm that the .net runtime library is installed, click here to download
All of the above are confirmed, then it should start normally.
Win system Qinglong installation and deployment tutorial ------- click to jump
QQ exchange: 1014549449 -------------- Click to jump