Skip to content

Commit

Permalink
Merge pull request #21 from SystemXFiles/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
SystemXFiles authored Sep 23, 2024
2 parents 25b0aad + 3e6f028 commit 22e8c14
Show file tree
Hide file tree
Showing 145 changed files with 4,524 additions and 2,730 deletions.
9 changes: 6 additions & 3 deletions build_portable.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
import PyInstaller.__main__
import pyinstaller_versionfile

from constants.any import CONFIG_FILE_NAME
from constants.app_info import APP_NAME, APP_VERSION, APP_AUTHOR, APP_NAME_WITH_VERSION
from constants.files import CONFIG_FILE_NAME
from util.files import explore

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

# Creating an archive of the built application
shutil.make_archive(APP_DIST_WITH_VERSION, 'zip', APP_DIST)
archive_file_path = shutil.make_archive(APP_DIST_WITH_VERSION, 'zip', APP_DIST)

# Copying the configuration file for tests into the built application
if os.path.isfile(CONFIG_FILE_FOR_TESTS):
shutil.copyfile(CONFIG_FILE_FOR_TESTS, CONFIG_FILE_IN_APP_DIST)

explore(archive_file_path)
43 changes: 21 additions & 22 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,28 @@
![Logo Process Governor](images/github-banner-readme.png)

[![RU](icons/ru.png) Русская версия](README.ru.md)
![Logo Process Governor](images/headers/github-banner-readme.png)

---

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

<details>
<summary>Screenshots</summary>

>![tray_menu_screenshot.png](images/tray_menu_screenshot.png)
>
>![audio_artiacle_rule_configurator_screenshot.png](images/audio_artiacle_rule_configurator_screenshot.png)
>
>![rule_configurator_with_error_screenshot.png](images/rule_configurator_with_error_screenshot.png)
</details>

## Features
### Features

- Adjust process and service priorities for better performance.
- Control I/O priorities to optimize resource utilization.
- Define core affinity for processes.
- Fine-tune Windows services and processes based on [user-defined rules](ui_rule_configurator.md).
- Continuous monitoring of the configuration file for rule application.
- Ability to add ProcessGovernor to autorun.
- Fine-tune Windows services and processes based on user-defined rules.

### Screenshots

<details>
<summary>Click to expand</summary>

> ![process_list.png](images/screenshots/process_list.png)
>
> ![process_rules.png](images/screenshots/process_rules.png)
>
> ![tray_menu.png](images/screenshots/tray_menu.png)
</details>

## Getting started

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

You can close the program by accessing the tray icon.

## Knowledge base

- [Configuring rules](ui_rule_configurator.md)
- [Process Governor UI](ui_process_governor.md)
- [Rule Behavior and Tips](rule_behavior_and_tips.md)
- [Configuration file](configuration_file.md)
- [Running from source and creating a portable build](run_and_build.md)
- **Tips and Tricks**
- [Optimizing Audio](tips'n'tricks/audio.md)
- [Optimizing Games](tips'n'tricks/game_optimization.md)

## License

This project is licensed under the GNU General Public License v3.0 - see the [LICENSE](../LICENSE) file for details.
53 changes: 0 additions & 53 deletions docs/README.ru.md

This file was deleted.

Loading

0 comments on commit 22e8c14

Please sign in to comment.