diff --git a/global.sh b/global.sh index 60635e28..90a23ba6 100755 --- a/global.sh +++ b/global.sh @@ -67,12 +67,15 @@ conf_write() { # If there is no config file I initalize the file with the the default values if [ ! -f "$rd_conf" ] then - + + mkdir -p /var/config/retrodeck echo "RetroDECK config file not found in $rd_conf" echo "Initializing" - + # Initializing the variables - 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 + if [ -z $version]; 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 + fi rdhome="$HOME/retrodeck" # the retrodeck home, aka ~/retrodeck roms_folder="$rdhome/roms" # the default roms folder path saves_folder="$rdhome/saves" # the default saves folder path @@ -100,4 +103,4 @@ else echo "Found RetroDECK config file in $rd_conf" echo "Loading it" source "$rd_conf" -fi \ No newline at end of file +fi diff --git a/net.retrodeck.retrodeck.appdata.xml b/net.retrodeck.retrodeck.appdata.xml index c2b9104f..fb07f2b5 100644 --- a/net.retrodeck.retrodeck.appdata.xml +++ b/net.retrodeck.retrodeck.appdata.xml @@ -14,19 +14,25 @@ - https://github.com/XargonWan/RetroDECK/blob/main/res/logo.png?raw=true + https://github.com/XargonWan/RetroDECK/blob/cooker/res/logo.png?raw=true - https://github.com/XargonWan/RetroDECK/blob/main/res/screenshots/screen02.png?raw=true + https://github.com/XargonWan/RetroDECK/blob/cooker/res/screenshots/screen01.jpeg?raw=true - https://github.com/XargonWan/RetroDECK/blob/main/res/screenshots/screen03.png?raw=true + https://github.com/XargonWan/RetroDECK/blob/cooker/res/screenshots/screen02.jpeg?raw=true - https://github.com/XargonWan/RetroDECK/blob/main/res/screenshots/screen04.png?raw=true + https://github.com/XargonWan/RetroDECK/blob/cooker/res/screenshots/screen03.jpeg?raw=true - https://github.com/XargonWan/RetroDECK/blob/main/res/screenshots/screen05.png?raw=true + https://github.com/XargonWan/RetroDECK/blob/cooker/res/screenshots/screen04.jpeg?raw=true + + + https://github.com/XargonWan/RetroDECK/blob/cooker/res/screenshots/screen05.jpeg?raw=true + + + https://github.com/XargonWan/RetroDECK/blob/cooker/res/screenshots/screen06.jpeg?raw=true @@ -68,7 +74,7 @@