Skip to content

Commit 22e8c14

Browse files
authored
Merge pull request #21 from SystemXFiles/develop
Develop
2 parents 25b0aad + 3e6f028 commit 22e8c14

145 files changed

Lines changed: 4524 additions & 2730 deletions

File tree

Some content is hidden

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

build_portable.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
import PyInstaller.__main__
66
import pyinstaller_versionfile
77

8-
from constants.any import CONFIG_FILE_NAME
98
from constants.app_info import APP_NAME, APP_VERSION, APP_AUTHOR, APP_NAME_WITH_VERSION
9+
from constants.files import CONFIG_FILE_NAME
10+
from util.files import explore
1011

1112
# Setting paths and configuration parameters
1213
VERSION_FILE = "versionfile.txt"
@@ -41,7 +42,7 @@
4142
'--onedir', # Build the app in one directory
4243
'--uac-admin', # Request admin rights on launch
4344
'--hide-console', 'hide-early', # Hide the console on startup
44-
'--add-data', './resources/*;./resources', # Add additional resources
45+
'--add-data', './resources/;./resources', # Add additional resources
4546
'--contents-directory', 'scripts', # Directory for Python and app scripts in the built package
4647
'--icon', 'resources/app.ico', # Application icon
4748
'--debug', 'noarchive', # Disables bundling of application scripts inside the exe
@@ -52,8 +53,10 @@
5253
])
5354

5455
# Creating an archive of the built application
55-
shutil.make_archive(APP_DIST_WITH_VERSION, 'zip', APP_DIST)
56+
archive_file_path = shutil.make_archive(APP_DIST_WITH_VERSION, 'zip', APP_DIST)
5657

5758
# Copying the configuration file for tests into the built application
5859
if os.path.isfile(CONFIG_FILE_FOR_TESTS):
5960
shutil.copyfile(CONFIG_FILE_FOR_TESTS, CONFIG_FILE_IN_APP_DIST)
61+
62+
explore(archive_file_path)

docs/README.md

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,28 @@
1-
![Logo Process Governor](images/github-banner-readme.png)
2-
3-
[![RU](icons/ru.png) Русская версия](README.ru.md)
1+
![Logo Process Governor](images/headers/github-banner-readme.png)
42

53
---
64

75
**Process Governor** is a Python utility designed to manage Windows processes and services by adjusting their
86
priorities, I/O priorities, and core affinity based on user-defined rules.
97

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
8+
### Features
219

2210
- Adjust process and service priorities for better performance.
2311
- Control I/O priorities to optimize resource utilization.
2412
- 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.
13+
- Fine-tune Windows services and processes based on user-defined rules.
14+
15+
### Screenshots
16+
17+
<details>
18+
<summary>Click to expand</summary>
19+
20+
> ![process_list.png](images/screenshots/process_list.png)
21+
>
22+
> ![process_rules.png](images/screenshots/process_rules.png)
23+
>
24+
> ![tray_menu.png](images/screenshots/tray_menu.png)
25+
</details>
2826
2927
## Getting started
3028

@@ -35,18 +33,19 @@ To get started with **Process Governor**, follow these steps:
3533
2. Run the `Process Governor.exe` executable with **administrative privileges**.
3634
This is important to allow the program to make the necessary adjustments to process and service priorities, I/O
3735
priorities, and core affinity.
38-
3. [Configure the rules](ui_rule_configurator.md) for processes and services.
36+
3. Configure the rules for processes and services.
37+
4. **Optionally**, you can enable auto-start for the program to launch automatically with
38+
the system.
3939

4040
You can close the program by accessing the tray icon.
4141

4242
## Knowledge base
4343

44-
- [Configuring rules](ui_rule_configurator.md)
44+
- [Process Governor UI](ui_process_governor.md)
45+
- [Rule Behavior and Tips](rule_behavior_and_tips.md)
4546
- [Configuration file](configuration_file.md)
4647
- [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)
48+
5049
## License
5150

5251
This project is licensed under the GNU General Public License v3.0 - see the [LICENSE](../LICENSE) file for details.

docs/README.ru.md

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

0 commit comments

Comments
 (0)