aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-10-14 10:35:41 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2020-10-14 10:35:41 +0200
commit19dd46461824d1f457e7c34d0d3a664dc6045600 (patch)
tree6a751f5d074600b630c5526ce486ce60f103a932 /Makefile
parenttunnel/winipcfg: set SysProcAttr.HideWindow when running netsh.sh (diff)
downloadwireguard-windows-19dd46461824d1f457e7c34d0d3a664dc6045600.tar.xz
wireguard-windows-19dd46461824d1f457e7c34d0d3a664dc6045600.zip
build: use crowdin backdoor instead of api key
Suggested-by: Harsh Shandilya <me@msfjarvis.dev> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 34dbd279..c84e0a01 100644
--- a/Makefile
+++ b/Makefile
@@ -60,8 +60,7 @@ generate:
crowdin:
find locales -maxdepth 1 -mindepth 1 -type d \! -name en -exec rm -rf {} +
- @[[ -n $$CROWDIN_API_KEY ]] || read -r -p "Enter Crowdin API key: " CROWDIN_API_KEY && \
- curl -Lo - https://api.crowdin.com/api/project/WireGuard/download/all.zip?key=$$CROWDIN_API_KEY | bsdtar -C locales -x -f - --strip-components 2 wireguard-windows
+ curl -Lo - https://crowdin.com/backend/download/project/wireguard.zip | bsdtar -C locales -x -f - --strip-components 2 wireguard-windows
find locales -name messages.gotext.json -exec bash -c '[[ $$(jq ".messages | length" {}) -ne 0 ]] || rm -rf "$$(dirname {})"' \;
@$(MAKE) --no-print-directory generate