Skip to content

Commit 91fa00c

Browse files
authored
Merge pull request #4 from SystemXFiles/feature-3/ui_rule_configurator
Adding a UI Rule Configurator
2 parents 05f93b2 + 69cf609 commit 91fa00c

57 files changed

Lines changed: 2736 additions & 815 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 0 additions & 158 deletions
This file was deleted.

build_portable.py

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,20 @@
3535

3636
# Running PyInstaller to build the application
3737
PyInstaller.__main__.run([
38-
'process-governor.py', # Source script file
39-
'--clean', # Clean previous builds
40-
'--noconfirm', # No confirmation when deleting dist directory
41-
'--onedir', # Build the app in one directory
42-
'--uac-admin', # Request admin rights on launch
43-
'--hide-console', 'hide-early', # Hide the console on startup
38+
'process-governor.py', # Source script file
39+
'--clean', # Clean previous builds
40+
'--noconfirm', # No confirmation when deleting dist directory
41+
'--onedir', # Build the app in one directory
42+
'--uac-admin', # Request admin rights on launch
43+
'--hide-console', 'hide-early', # Hide the console on startup
4444
'--add-data', './resources/*;./resources', # Add additional resources
45-
'--contents-directory', 'scripts', # Directory for Python and app scripts in the built package
46-
'--icon', 'resources/app.ico', # Application icon
47-
'--debug', 'noarchive', # Disables bundling of application scripts inside the exe
48-
'--name', APP_NAME, # Name of the executable file
49-
'--version-file', VERSION_FILE, # Path to the version file
50-
'--distpath', DIST, # Directory to save the built application
45+
'--contents-directory', 'scripts', # Directory for Python and app scripts in the built package
46+
'--icon', 'resources/app.ico', # Application icon
47+
'--debug', 'noarchive', # Disables bundling of application scripts inside the exe
48+
'--name', APP_NAME, # Name of the executable file
49+
'--version-file', VERSION_FILE, # Path to the version file
50+
'--distpath', DIST, # Directory to save the built application
51+
'--collect-all', 'tksvg',
5152
])
5253

5354
# Creating an archive of the built application

docs/README.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
![Logo Process Governor](images/github-banner-readme.png)
2+
3+
[![RU](icons/ru.png) Русская версия](README.ru.md)
4+
5+
---
6+
7+
**Process Governor** is a Python utility designed to manage Windows processes and services by adjusting their
8+
priorities, I/O priorities, and core affinity based on user-defined rules.
9+
10+
<details>
11+
<summary>Screenshots</summary>
12+
13+
>![tray_menu_screenshot.png](images/tray_menu_screenshot.png)
14+
>
15+
>![audio_artiacle_rule_configurator_screenshot.png](images/audio_artiacle_rule_configurator_screenshot.png)
16+
>
17+
>![rule_configurator_with_error_screenshot.png](images/rule_configurator_with_error_screenshot.png)
18+
</details>
19+
20+
## Features
21+
22+
- Adjust process and service priorities for better performance.
23+
- Control I/O priorities to optimize resource utilization.
24+
- Define core affinity for processes.
25+
- Fine-tune Windows services and processes based on [user-defined rules](ui_rule_configurator.md).
26+
- Continuous monitoring of the configuration file for rule application.
27+
- Ability to add ProcessGovernor to autorun.
28+
29+
## Getting started
30+
31+
To get started with **Process Governor**, follow these steps:
32+
33+
1. Download the latest ready-to-use build from the following
34+
link: [Latest Release](https://github.com/SystemXFiles/process-governor/releases/latest).
35+
2. Run the `Process Governor.exe` executable with **administrative privileges**.
36+
This is important to allow the program to make the necessary adjustments to process and service priorities, I/O
37+
priorities, and core affinity.
38+
3. [Configure the rules](ui_rule_configurator.md) for processes and services.
39+
40+
You can close the program by accessing the tray icon.
41+
42+
## Knowledge base
43+
44+
- [Configuring rules](ui_rule_configurator.md)
45+
- [Configuration file](configuration_file.md)
46+
- [Running from source and creating a portable build](run_and_build.md)
47+
- **Tips and Tricks**
48+
- [Optimizing Audio](tips'n'tricks/audio.md)
49+
- [Optimizing Games](tips'n'tricks/game_optimization.md)
50+
## License
51+
52+
This project is licensed under the GNU General Public License v3.0 - see the [LICENSE](../LICENSE) file for details.

0 commit comments

Comments
 (0)