Download slt.py python script (supports multiple build) from this repository.
python slt.py <"sublime_text file path">
Download already patched executable or perform hex edit with the information shown below.
Name |
Offset |
Original |
Patched |
Persistent License Check |
0x267CA |
0x00 |
0x01 |
Initial License Check |
0x26C4F |
0x38 |
0x08 |
|
0x26C50 |
0x00 |
0x01 |
Software Update Prompt |
0x50AFA |
0x55 |
0xC3 |
Name |
Offset |
Original |
Patched |
Persistent License Check |
0x3985A |
0x00 |
0x01 |
Initial License Check |
0x3A073 |
0x38 |
0x08 |
|
0x3A074 |
0x00 |
0x01 |
Software Update Prompt |
0x792FB |
0x57 |
0xC3 |
Name |
Offset |
Original |
Patched |
Persistent License Check |
0xD779 |
0x00 |
0x01 |
Initial License Check |
0xC068 |
0x38 |
0x08 |
|
0xC069 |
0x00 |
0x01 |
Software Update Prompt |
0x482C5 |
0x83 |
0xC3 |
|
0x482C6 |
0xEC |
0x90 |
|
0x482C7 |
0x0C |
0x90 |
Name |
Offset |
Original |
Patched |
Persistent License Check |
0xEB83 |
0x00 |
0x01 |
Initial License Check |
0xD538 |
0x38 |
0x08 |
|
0xD539 |
0x00 |
0x01 |
Software Update Prompt |
0x460B5 |
0x53 |
0xC3 |
@naml3i Yes, I experienced the same thing. I used the automatic updater (in-app popup notifying me there was an update available and clicking download) and after the update, "Poof!", everything was wrecked. I keep a lot of valuable documents/notes open in my current session, some saved, some not, so I was definitely not at all pleased when my session data was completely discarded. Thankfully, I was able to restore everything since I had a backup but it is EXTREMELY poor form on the app author's behalf to do something so reckless. If this was a result of transitioning from Sublime Text 3 to Sublime Text 4, then the app should either not offer the update at all, or it should give a very clear warning that the update is a major version update which is not backwards compatible and that it will discard much, if not all, of your user data. It is almost as if they are just TRYING to push more people into Microsoft's VSCode arms. At least that is my 2-cents...