send/android/app/buildAssets.sh
2018-11-15 15:43:32 -08:00

7 lines
No EOL
184 B
Bash
Executable file

#!/usr/bin/env bash
npm run build
rm -rf src/main/assets
mkdir -p src/main/assets
cp -R ../../dist/* src/main/assets
sed -i '' 's/url(/url(\/android_asset/g' src/main/assets/app.*.css