#!/bin/bash echo Generate flutter release flutter build web --dart-define API_URL="<<>>" --dart-define API_TOKEN="<<>>" --source-maps echo Build associated server cd player-server && cargo build --release && cd .. rm -rf image mkdir image cp -r build/web image cp player-server/target/release/player-server image echo Patch built files sed -i 's/<\/head>/