#!/bin/bash
INSTANCE=$(ls ~/Documents/Games/Factorio/Modpacks/ | rofi -dmenu -i)
echo $INSTANCE
if test -n "$INSTANCE"; then
$(<"${INSTANCE}/pack.conf") --mod-directory $INSTANCE
fi