distribution/packages/games/emulators/pico-8/sources/autostart/common/010-pico8

12 lines
272 B
Bash
Executable file

#!/bin/sh
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
PICO_DIR="/storage/roms/pico-8"
if [ ! -d "${PICO_DIR}" ]
then
mkdir "${PICO_DIR}"
fi
cp -f "/usr/bin/start_pico8.sh" "${PICO_DIR}/Start Pico-8.sh"