Files
Leeksov 4647310322 GLEGram 12.5 — Initial public release
Based on Swiftgram 12.5 (Telegram iOS 12.5).
All GLEGram features ported and organized in GLEGram/ folder.

Features: Ghost Mode, Saved Deleted Messages, Content Protection Bypass,
Font Replacement, Fake Profile, Chat Export, Plugin System, and more.

See CHANGELOG_12.5.md for full details.
2026-04-06 09:48:12 +03:00

39 lines
1.0 KiB
Python

from lldb_common import load_launch_info, load_bazel_info, run_command
import os
launch_info = load_launch_info()
bazel_info = load_bazel_info()
output_base = bazel_info["output_base"]
execution_root = bazel_info["execution_root"]
workspace_root = os.getcwd()
device_platform = launch_info["platform"]
device_udid = launch_info["udid"]
debug_pid = str(launch_info["pid"])
run_command(
f'platform settings -w "{execution_root}"',
)
run_command(
'settings append target.source-map "." "{}"'.format(workspace_root),
)
run_command(
'settings insert-before target.source-map 0 "./external/" '
f'"{output_base}/external/"',
)
run_command(
'settings set plugin.process.gdb-remote.packet-timeout 300',
)
if device_platform == "device":
run_command(f"device select {device_udid}")
else:
run_command(f"platform select {device_platform}")
run_command(f"platform connect {device_udid}")
if device_platform == "device":
run_command(f"device process attach --pid {debug_pid}")
else:
run_command(f"process attach --pid {debug_pid}")