Skip to content

Commit 968d501

Browse files
docs: multilingual README
1 parent 6dbd5fe commit 968d501

File tree

2 files changed

+75
-18
lines changed

2 files changed

+75
-18
lines changed

README-zh.md

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# ProcessGuard
2+
3+
[English](README.md)
4+
5+
关于实现的具体依据请查看[通过Windows系统服务守护进程的运行](https://lambda.cyou/posts/Tips-5/)
6+
7+
得益于能从Windows系统服务中启动任意进程的能力,围绕这个能力,此程序可以用来:
8+
9+
1. 从Windows系统服务启动带交互界面的程序,并在其被关闭后再次将其启动
10+
2. 将一些程序配置为开机自启
11+
3. 对于控制台类型的应用,包括但不限于`java``dotnet``node`等类型的程序,可以通过无窗应用的启动方式,将其像系统服务一样部署在Windows系统上
12+
13+
## ⚙配置界面
14+
15+
> [Release](https://github.com/KamenRiderKuuga/ProcessGuard/releases)页面可以直接下载程序,启动程序后看到的界面只是一个配置界面,可以在这里配置要守护的进程,启动服务之后可以随时开启或关闭此配置界面
16+
17+
![](https://lambda.cyou/assets/img/processguard-8.PNG)
18+
19+
注:只有在界面点击启动服务,守护服务正常运行后,配置才能生效
20+
21+
22+
23+
## 📕配置说明
24+
25+
**进程名称:** 用于标识当前配置项的名称,仅用于界面显示
26+
27+
**完整路径:** 可执行文件的完整路径
28+
29+
**启动参数:** 也就是平时启动应用时携带的参数,如不需要携带参数可忽略此项
30+
31+
**仅启动一次:** 在守护服务运行期间只启动一次,用于只需要配置开机启动的场景
32+
33+
**最小化:** 对于有交互界面的程序,配置此项可以让其启动时最小化到任务栏,而不是和平时一样弹出界面
34+
35+
**无窗应用:** 用于控制台类型的应用,对于这些没有交互界面的应用,勾选此项可以让其启动时完全不显示控制台,而作为系统服务启动
36+
37+
38+
39+
## 配置示例
40+
41+
### 带交互界面的程序
42+
43+
![](https://lambda.cyou/assets/img/processguard-9.PNG)
44+
45+
46+
47+
### Spring Boot项目
48+
49+
![](https://lambda.cyou/assets/img/processguard-10.PNG)

README.md

+26-18
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,53 @@
11
# ProcessGuard
22

3-
> 从系统服务中启动并保护指定的进程,使其在被关闭后重新启动,用于防止程序误关闭,或**用于想让任意应用程序像Windows系统服务一样保持运行的场景**
3+
[中文文档](README-zh.md)
44

5-
💡关于实现的具体依据请查看[通过Windows系统服务守护进程的运行](https://lambda.cyou/posts/Tips-5/)
5+
About how it works:
66

7+
[Subverting Vista UAC in Both 32 and 64 bit Architectures By Pero Matić](https://www.codeproject.com/Articles/35773/Subverting-Vista-UAC-in-Both-32-and-64-bit-Archite)
78

9+
[Application Compatibility - Session 0 Isolation By Craig Marcho](https://techcommunity.microsoft.com/t5/ask-the-performance-team/application-compatibility-session-0-isolation/ba-p/372361)
810

9-
## ⚙配置界面
11+
With the ability to start a process from the Windows service, we can:
1012

11-
> [Release](https://github.com/KamenRiderKuuga/ProcessGuard/releases)页面可以直接下载程序,启动程序后看到的界面只是一个配置界面,可以在这里配置要守护的进程,启动服务之后可以随时开启或关闭此配置界面
13+
1. Start a program with an interactive interface from a Windows service and restart it after it has been closed
14+
2. Set some programs to start automatically at boot
15+
3. For console applications, including but not limited to `java`, `dotnet`, `node`, etc., they can be deployed on Windows systems as no window like Windows services
1216

13-
![](https://lambda.cyou/assets/img/processguard-2.PNG)
17+
## ⚙Configuration Interface
1418

15-
注:只有在界面点击启动服务,守护服务正常运行后,配置才能生效
19+
> You can download the program directly from the [Release](https://github.com/KamenRiderKuuga/ProcessGuard/releases) page. The interface you see is just a configuration interface for configuring the processes to be guarded here. After starting the service, you can close the configuration interface
1620
21+
![](https://lambda.cyou/assets/img/processguard-5.PNG)
1722

23+
Note: The configuration can take effect only after the service is started
1824

19-
## 📕配置说明
2025

21-
**进程名称:** 用于标识当前配置项的名称,仅用于界面显示
2226

23-
**完整路径:** 可执行文件的完整路径
27+
## 📕Configuration Items
2428

25-
**启动参数:** 也就是平时启动应用时携带的参数,如不需要携带参数可忽略此项
29+
**Process Name:** The name used to identify the current configuration item, only used for interface display
2630

27-
**仅开机自启:** 在守护服务运行期间只启动一次,用于只需要配置开机启动的场景
31+
**Full Path:** Full path to executable
2832

29-
**启动时最小化:** 对于有交互界面的程序,配置此项可以让其启动时只在任务栏出现,而不是和平时一样弹出界面
33+
**Parameters:** The parameters be carried when starting the application, ignore this if you do not need any parameters
3034

31-
**无窗应用:** 用于控制台类型的应用,对于这些没有交互界面的应用,勾选此项可以让其启动时完全不显示控制台,而作为系统服务启动
35+
**Start Once:** Only started once during the service running
3236

37+
**Minimize:** For programs with an interactive interface, it can make it minimized to the taskbar when it starts, instead of popping up the interface as usual
3338

39+
**NoWindow:** For console applications, enabling this item can make it start like a windows service, without displaying the console at all
3440

35-
## 💡配置示例
3641

37-
### 带交互界面的程序
3842

39-
![](https://lambda.cyou/assets/img/processguard-3.PNG)
43+
## Configuration Example
4044

45+
### An Interactive Program
4146

47+
![](https://lambda.cyou/assets/img/processguard-6.PNG)
4248

43-
### Spring Boot项目
4449

45-
![](https://lambda.cyou/assets/img/processguard-4.PNG)
50+
51+
### A Spring Boot Program
52+
53+
![](https://lambda.cyou/assets/img/processguard-7.PNG)

0 commit comments

Comments
 (0)