|
1 | 1 | # ProcessGuard
|
2 | 2 |
|
3 |
| -> 从系统服务中启动并保护指定的进程,使其在被关闭后重新启动,用于防止程序误关闭,或**用于想让任意应用程序像Windows系统服务一样保持运行的场景** |
| 3 | +[中文文档](README-zh.md) |
4 | 4 |
|
5 |
| -💡关于实现的具体依据请查看[通过Windows系统服务守护进程的运行](https://lambda.cyou/posts/Tips-5/) |
| 5 | +About how it works: |
6 | 6 |
|
| 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) |
7 | 8 |
|
| 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) |
8 | 10 |
|
9 |
| -## ⚙配置界面 |
| 11 | +With the ability to start a process from the Windows service, we can: |
10 | 12 |
|
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 |
12 | 16 |
|
13 |
| - |
| 17 | +## ⚙Configuration Interface |
14 | 18 |
|
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 |
16 | 20 |
|
| 21 | + |
17 | 22 |
|
| 23 | +Note: The configuration can take effect only after the service is started |
18 | 24 |
|
19 |
| -## 📕配置说明 |
20 | 25 |
|
21 |
| -**进程名称:** 用于标识当前配置项的名称,仅用于界面显示 |
22 | 26 |
|
23 |
| -**完整路径:** 可执行文件的完整路径 |
| 27 | +## 📕Configuration Items |
24 | 28 |
|
25 |
| -**启动参数:** 也就是平时启动应用时携带的参数,如不需要携带参数可忽略此项 |
| 29 | +**Process Name:** The name used to identify the current configuration item, only used for interface display |
26 | 30 |
|
27 |
| -**仅开机自启:** 在守护服务运行期间只启动一次,用于只需要配置开机启动的场景 |
| 31 | +**Full Path:** Full path to executable |
28 | 32 |
|
29 |
| -**启动时最小化:** 对于有交互界面的程序,配置此项可以让其启动时只在任务栏出现,而不是和平时一样弹出界面 |
| 33 | +**Parameters:** The parameters be carried when starting the application, ignore this if you do not need any parameters |
30 | 34 |
|
31 |
| -**无窗应用:** 用于控制台类型的应用,对于这些没有交互界面的应用,勾选此项可以让其启动时完全不显示控制台,而作为系统服务启动 |
| 35 | +**Start Once:** Only started once during the service running |
32 | 36 |
|
| 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 |
33 | 38 |
|
| 39 | +**NoWindow:** For console applications, enabling this item can make it start like a windows service, without displaying the console at all |
34 | 40 |
|
35 |
| -## 💡配置示例 |
36 | 41 |
|
37 |
| -### 带交互界面的程序 |
38 | 42 |
|
39 |
| - |
| 43 | +## Configuration Example |
40 | 44 |
|
| 45 | +### An Interactive Program |
41 | 46 |
|
| 47 | + |
42 | 48 |
|
43 |
| -### Spring Boot项目 |
44 | 49 |
|
45 |
| - |
| 50 | + |
| 51 | +### A Spring Boot Program |
| 52 | + |
| 53 | + |
0 commit comments