GitXplorerGitXplorer
s

fakeTGUIKit

public
2 stars
1 forks
1 issues

Commits

List of commits on branch master.
Verified
2c8db256c8c78ba5cbce9ea0049c3fa20a57037d

Merge pull request #2 from aprosvetova/patch-2

sstek29 committed 6 years ago
Verified
a856d87fa1e5417b7fc9ffe45a77ea86765211b9

Merge pull request #1 from aprosvetova/patch-1

sstek29 committed 6 years ago
Verified
e5cff2d97e42abde1d23e6c69ee8e624a64df938

Uncensor all bad words

aanna-oake committed 6 years ago
Verified
67f247fd62d5c06a31a1985dfa7b0780182f61fa

censor all bad words

aanna-oake committed 6 years ago
Unverified
302bedd70596576dc34bdae4c3d38040f0343fe8

Initial (and hopefully final) commit

sstek29 committed 6 years ago

README

The README file for this repository.

Fake TGUIKit font changer

Telegram macOS native app font replacement simple PoC just for lulz, uses LD_REEXPORT_DYLIB dylib hijacking to override only selected functions.

Preview with Comic Sans MS

чуть *** не умер
сердец болит
руки дрожат
такого издевательства над системой и телеграмом я еще не видел
от шрифта хочется умереть
ну бля, я конечно понимаю не у всех чувство прекрасного развито, чтоб на столько плохо - я думал это сказки.
разработчики потратили сотни часов, чтоб появилась возможность кастомизации, а вы вот используете ее так.

Installation

  • Run mkempty.sh
  • Open TGUIKit.xcodeproj
  • Build
  • Use patcher.sh

Usage

With no configuration Font would be replaced with Comic Sans MS.

Go to Telegram.app/Contents/Resources and create FontConfig.plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>FontFamily</key>
	<string>Helvetica</string>
	<key>SizeFactor</key>
	<real>1.1</real>
</dict>
</plist>

Where:

  • FontFamily (Helvetica) is Font Family to use. You can get font family from font file by checking Full name in Finder's Get Info.
  • SizeFactor (1.1) is the factor for font sizes. Some fonts are smaller than others with same font size, so you might need to adjust the size factor. But for most fonts 1 should work the best.

You can add more fonts to Telegram.app/Contents/Resources/fonts.

License

MIT, or GPL if MIT violates TG license. I'm not a lawyer.