#!/usr/bin/env bash
# Run this after: sudo pacman -S nsis
set -e
cd "$(dirname "$0")/.."

echo "=== Building VoxelRealm Windows installer ==="
makensis installer/VoxelRealm.nsi
echo ""
echo "=== Done! ==="
echo "Installer: website/downloads/VoxelRealm-Setup.exe"
echo "Size: $(du -sh website/downloads/VoxelRealm-Setup.exe | cut -f1)"
