mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-26 07:55:37 +00:00
Various fixes by RavenKilit
This commit is contained in:
parent
f4c3b02084
commit
c22bf430d8
|
@ -66,12 +66,12 @@ then
|
||||||
version="$hard_version" # if we are here means that the we are in a new installation, so the version is valorized with the hardcoded one
|
version="$hard_version" # if we are here means that the we are in a new installation, so the version is valorized with the hardcoded one
|
||||||
rdhome="$HOME/retrodeck" # the retrodeck home, aka ~/retrodeck
|
rdhome="$HOME/retrodeck" # the retrodeck home, aka ~/retrodeck
|
||||||
roms_folder="$rdhome/roms" # the default roms folder path
|
roms_folder="$rdhome/roms" # the default roms folder path
|
||||||
media_folder="$rdhome/retrodeck/downloaded_media" # the media folder, where all the scraped data is downloaded into
|
media_folder="$rdhome/downloaded_media" # the media folder, where all the scraped data is downloaded into
|
||||||
themes_folder="$rdhome/retrodeck/themes" # the themes folder
|
themes_folder="$rdhome/themes" # the themes folder
|
||||||
sdcard="$default_sd" # Steam Deck SD default path
|
sdcard="$default_sd" # Steam Deck SD default path
|
||||||
|
|
||||||
# Writing the variables for the first time
|
# Writing the variables for the first time
|
||||||
echo "#!/bin/bash" >> $rd_conf
|
echo '#!/bin/bash' >> $rd_conf
|
||||||
echo "version=$version" >> $rd_conf
|
echo "version=$version" >> $rd_conf
|
||||||
echo "rdhome=$rdhome" >> $rd_conf
|
echo "rdhome=$rdhome" >> $rd_conf
|
||||||
echo "roms_folder=$roms_folder" >> $rd_conf
|
echo "roms_folder=$roms_folder" >> $rd_conf
|
||||||
|
|
|
@ -383,6 +383,10 @@ finit() {
|
||||||
advanced
|
advanced
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
1 ) # X button quits
|
||||||
|
kill $$
|
||||||
|
;;
|
||||||
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
mkdir -pv $roms_folder
|
mkdir -pv $roms_folder
|
||||||
|
|
|
@ -13,6 +13,6 @@ arrIN=(${login//=SEP=/ })
|
||||||
user=${arrIN[0]}
|
user=${arrIN[0]}
|
||||||
pass=${arrIN[1]}
|
pass=${arrIN[1]}
|
||||||
|
|
||||||
sed -i "s%cheevos_enable =.*%cheevos_enable = \"true\"" $racfg
|
sed -i "s%cheevos_enable =.*%cheevos_enable = \"true\"%" $racfg
|
||||||
sed -i "s%cheevos_username =.*%cheevos_username = \"$user\"" $racfg
|
sed -i "s%cheevos_username =.*%cheevos_username = \"$user\"%" $racfg
|
||||||
sed -i "s%cheevos_password =.*%cheevos_password = \"$pass\"" $racfg
|
sed -i "s%cheevos_password =.*%cheevos_password = \"$pass\"%" $racfg
|
||||||
|
|
Loading…
Reference in a new issue