#!/bin/bash

git init
git pull https://github.com/deck9/input

bun i --no-save
bun vite build

mkdir public/build/app
mv public/build/manifest.json public/build/app

sed -i 's|assets|\.\.\/assets|g' public/build/app/manifest.json