Sublime Family

Sublime Text 4126

The sophisticated text editor for code, markup and prose.

Windows
cd /d "C:\Program Files\Sublime Text" || exit
certutil -hashfile sublime_text.exe md5 | find /i "924C781AC4FCD21A2B46C73B07D7BC27" || exit
echo 000A7214: 48 31 C0 C3          | xxd -r - sublime_text.exe
echo 0000711A: 90 90 90 90 90       | xxd -r - sublime_text.exe
echo 00007133: 90 90 90 90 90       | xxd -r - sublime_text.exe
echo 000A8D53: 48 31 C0 48 FF C0 C3 | xxd -r - sublime_text.exe
echo 000A6E0F: C3                   | xxd -r - sublime_text.exe
echo 00000400: C3                   | xxd -r - sublime_text.exe
MacOS M1
cd "/Applications/Sublime Text.app/Contents/MacOS/" || exit
[ $(md5 sublime_text) = B945D6CCF73C966DC68A69A2C2D8F71E ] || exit
echo 00FF47B0: E0 03 1F AA C0 03 5F D6 | xxd -r - sublime_text
echo 00F85B3C: 1F 20 03 D5             | xxd -r - sublime_text
echo 00F85B50: 1F 20 03 D5             | xxd -r - sublime_text
echo 00FF589C: C0 03 5F D6             | xxd -r - sublime_text
echo 00FF4444: C0 03 5F D6             | xxd -r - sublime_text
echo 00F811B8: C0 03 5F D6             | xxd -r - sublime_text

Re-sign the app

codesign --force --deep --sign - "/Applications/Sublime Text.app"

Sublime Merge 2074

A cross-platform Git client, done the Sublime Text way.

Windows
cd /d "C:\Program Files\Sublime Merge" || exit
certutil -hashfile sublime_merge.exe md5 | find /i "D5F3FB531540AEB4C2379BAB298919DB" || exit
echo 000241B4: 48 C7 C0 19 01 00 00 C3 | xxd -r - sublime_merge.exe
echo 00027667: 90 90 90 90 90          | xxd -r - sublime_merge.exe
echo 00027680: 90 90 90 90 90          | xxd -r - sublime_merge.exe
echo 000259D1: 48 31 C0 48 FF C0 C3    | xxd -r - sublime_merge.exe
echo 00023E07: C3                      | xxd -r - sublime_merge.exe
echo 0002317C: C3                      | xxd -r - sublime_merge.exe
MacOS M1
cd "/Applications/Sublime Merge.app/Contents/MacOS/" || exit
[ $(md5 sublime_merge) = 186FDA87C023C6270F4FFB4B55F7CA40 ] || exit
echo 01478BF8: 20 23 80 D2 C0 03 5F D6 | xxd -r - sublime_merge
echo 0147AB48: 1F 20 03 D5             | xxd -r - sublime_merge
echo 0147AB5C: 1F 20 03 D5             | xxd -r - sublime_merge
echo 01479964: C0 03 5F D6             | xxd -r - sublime_merge
echo 01478950: C0 03 5F D6             | xxd -r - sublime_merge
echo 0147839C: C0 03 5F D6             | xxd -r - sublime_merge

Re-sign the app

codesign --force --deep --sign - "/Applications/Sublime Merge.app"