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

26 lines
1.0 KiB
Diff

diff --git a/tools/swift_stdlib_tool/swift_stdlib_tool.py b/tools/swift_stdlib_tool/swift_stdlib_tool.py
index fbb7f4fb..5a2277c5 100644
--- a/tools/swift_stdlib_tool/swift_stdlib_tool.py
+++ b/tools/swift_stdlib_tool/swift_stdlib_tool.py
@@ -134,6 +134,20 @@ def _copy_swift_stdlibs(binaries_to_scan, sdk_platform, destination_path):
if os.path.exists(libswiftcore_path):
os.remove(libswiftcore_path)
+ # MARK: Swiftgram
+ if sdk_platform == "iphoneos":
+ # Copy the concurrency runtime to the destination path.
+ _, stdout, stderr = execute.execute_and_filter_output(
+ [
+ "ditto",
+ f"{developer_dir}/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.5/iphoneos/libswift_Concurrency.dylib",
+ os.path.join(destination_path, "libswift_Concurrency.dylib")
+ ], raise_on_failure=True)
+ if stderr:
+ print(stderr)
+ if stdout:
+ print(stdout)
+
def _lipo_exec_files(exec_files, target_archs, strip_bitcode, source_path,
destination_path):