2023-06-14 16:49:04 +00:00
|
|
|
!/bin/bash
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Copyright (C) 2023-present BrooksyTech (https://github.com/brooksytech)
|
|
|
|
|
|
|
|
. /etc/profile
|
|
|
|
|
|
|
|
#Set up gzdoom
|
|
|
|
if [ ! -d "/storage/.config/gzdoom/" ]; then
|
|
|
|
cp -rf /usr/config/gzdoom /storage/.config/
|
2023-07-23 13:47:19 +00:00
|
|
|
sed -i '/Joy10=/c\Joy10=togglemap;
|
|
|
|
/Joy9=/c\Joy9=menu_main;
|
|
|
|
/vid_defheight=/c\vid_defheight=480;
|
|
|
|
/vid_defwidth=/c\vid_defwidth=640' /storage/.config/gzdoom/gzdoom.ini
|
2023-06-14 16:49:04 +00:00
|
|
|
fi
|