The Sublime Text Patcher is a powerful Python utility designed to patch the HEX values from 80 79 05 00 0F 94 C2 to C6 41 05 01 B2 00 90 and restore Sublime Text installation in case you want to go back. This script manage Sublime Text executable files and prevent unwanted updates if needed.
- π Patch Sublime Text executable
- π Restore Sublime Text to its original state
- π« Block Sublime Text update servers via hosts file modification
- π» Supports multiple drive locations in case is not installed on the main disk
- π‘οΈ Requires administrator privileges to work
- Windows
- Python 3.8 or higher
- Administrator Privileges
- Installed Sublime Text Build 4180/4200 or older
psutil
shutil
ctypes
-
Clone the repository:
git clone https://github.com/N1xUser/SublimeText-Patch.git cd SublimeText-Patch-main
-
Install required dependencies:
pip install psutil
Run the script with administrator privileges:
SublimeTextPatch.py
-
Patch Sublime Text
- Creates a backup of the current executable with the .bkp extension
- Modifies the executable to disable specific functionalities
- Blocks update servers via hosts file
-
Restore Sublime Text
- Restores the executable from the backup
- Removes update server blocks from hosts file
- Always backup your data before running the script
- Requires administrative permissions
- Automatic backup creation before modifications
- User confirmation for critical actions
- Comprehensive error handling
Report any issues or suggest improvements by opening a GitHub issue in the repository.
This script is provided without warranty of working of any kind. Use it for non comertial projects and at your own discretion.