2023-10-23 22:44:47 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2023-12-17 14:52:08 +00:00
|
|
|
# Copyright (C) 2022-present JELOS (https://github.com/JustEnoughLinuxOS)
|
2023-06-14 16:49:04 +00:00
|
|
|
|
|
|
|
. /etc/profile
|
|
|
|
|
|
|
|
#Set up gzdoom
|
|
|
|
if [ ! -d "/storage/.config/gzdoom/" ]; then
|
|
|
|
cp -rf /usr/config/gzdoom /storage/.config/
|
|
|
|
sed -i '/Joy18=/c\Joy18=togglemap' /storage/.config/gzdoom/gzdoom.ini
|
|
|
|
sed -i '/Joy13=/c\Joy13=menu_main' /storage/.config/gzdoom/gzdoom.ini
|
|
|
|
sed -i '/vid_defheight=/c\vid_defheight=480' /storage/.config/gzdoom/gzdoom.ini
|
|
|
|
sed -i '/vid_defwidth=/c\vid_defwidth=854' /storage/.config/gzdoom/gzdoom.ini
|
|
|
|
fi
|