summaryrefslogtreecommitdiff
path: root/protocols/Telegram/tdlib/td/example/web/copy-tdlib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Telegram/tdlib/td/example/web/copy-tdlib.sh')
-rw-r--r--protocols/Telegram/tdlib/td/example/web/copy-tdlib.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/protocols/Telegram/tdlib/td/example/web/copy-tdlib.sh b/protocols/Telegram/tdlib/td/example/web/copy-tdlib.sh
new file mode 100644
index 0000000000..f7167d5701
--- /dev/null
+++ b/protocols/Telegram/tdlib/td/example/web/copy-tdlib.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+cd $(dirname $0)
+
+DEST=tdweb/src/prebuilt/release/
+mkdir -p $DEST || exit 1
+cp build/wasm/td_wasm.js build/wasm/td_wasm.wasm $DEST || exit 1
+cp build/asmjs/td_asmjs.js build/asmjs/td_asmjs.js.mem $DEST || exit 1