BlueWallet/patches/fix_mangle.sh

6 lines
452 B
Bash
Raw Normal View History

2018-09-19 02:14:43 +02:00
#!/usr/bin/env bash
2018-10-06 17:41:43 +02:00
grep -rl "mangle: { toplevel: true }" ./node_modules/ | xargs sed -i '' -e "s/mangle: { toplevel: true }/mangle: false/g" || true
grep -rl "mangle: {toplevel: true}" ./node_modules/ | xargs sed -i '' -e "s/mangle: {toplevel: true}/mangle: false/g" || true
grep -rl "BASE_MAP.fill(255)" ./node_modules/ | xargs sed -i '' -e "s/BASE_MAP.fill(255)/for (let c = 0 ; c< 256; c++) BASE_MAP[c] = 255;/g" || true
2019-01-26 15:26:28 +01:00
echo fix_mangle.sh done