Updated Cheat Codes (markdown)

ilya-fedin 2023-02-26 09:52:03 +00:00
parent 3e01963a7e
commit bab10455fc

@ -2,26 +2,27 @@ You can get access to hidden functionality by entering a cheat code blindly in s
| Code | Description |
|:----------------:|------------------------------------------------------------------------------------------------------|
| `endpoints` | Load custom DC Endpoints file (`*.tdesktop-endpoints`) |
| `loadlang` | Load custom language file (`*.strings`) |
| `loadcolors` | Load custom palette file (`*.tdesktop-palette`) |
| `debugmode` | Enable/disable debug logs. All network events will be logged if the mode is enabled |
| `viewlogs` | Open the folder where non-debug log is saved to |
| `testmode` | You will be switched to test cloud<sup>1</sup> (works only before any account is added, `Shift+Alt+Right Click` on `Add Account` button after that)|
| `testupdate` | Get a test update (i.e. one that is not even tested to apply correctly) one-time |
| `loadlang` | Load custom language file (`*.strings`) |
| `crashplease` | Causes a crash (useful for testing crash reporter) |
| `moderate` | Binds keys 1-9 to buttons on bot keyboard. Key `q` sends command `/translate` |
| `getdifference` | Issue `getDifference` MTProto command to fetch chat updates (e.g. messages) |
| `testupdate` | Get a test update (i.e. one that is not even tested to apply correctly) one-time |
| `folders` | Open folders settings |
| `loadcolors` | Load custom palette file (`*.tdesktop-palette`) |
| `endpoints` | Load custom DC Endpoints file (`*.tdesktop-endpoints`) |
| `testmode` | You will be switched to test cloud<sup>1</sup> (works only before any account is added, `Shift+Alt+Right Click` on `Add Account` button after that)|
| `registertg` | Force custom scheme register (assign tg:// URIs to the app) |
| `installlauncher`| Force .desktop file installation on Linux |
| `msg_incoming` | Change the sound when a new message arrives |
| `call_incoming` | Change the sound of incoming call |
| `call_connect` | Change the sound of connection call |
| `call_outgoing` | Change the sound of outgoing call |
| `call_busy` | Change the sound of busy call |
| `call_connect` | Change the sound of connection call |
| `call_end` | Change the sound of end call |
| `sounds_reset` | Reset sounds |
| `unpacklog` | Decompress crash log |
| `testchatcolors` | Test chat theme colors |
| `customicon` | Set custom application icon on macOS |
These can be found in [`Telegram/SourceFiles/settings/settings_codes.cpp`](https://github.com/telegramdesktop/tdesktop/blob/dev/Telegram/SourceFiles/settings/settings_codes.cpp).