From 87d2a5f47b0e0638a4d392e0d5fb8b90158dcbc2 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Sun, 21 Apr 2024 20:35:32 +0900 Subject: [PATCH] GLOBAL: check if the build is a Cooker or a PR build too, then enabled dev options [skip ci] --- functions/global.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/global.sh b/functions/global.sh index f37658e1..b4cd5b8c 100644 --- a/functions/global.sh +++ b/functions/global.sh @@ -168,7 +168,7 @@ if [[ ! -f "$rd_conf" ]]; then set_setting_value $rd_conf "version" "$version" retrodeck # Set current version for new installs set_setting_value $rd_conf "sdcard" "$default_sd" retrodeck "paths" # Set SD card location if default path has changed - if grep -qF "cooker" <<< $hard_version; then # If newly-installed version is a "cooker" build + if grep -qF "cooker" <<< "$hard_version" || grep -qF "PR-" <<< "$hard_version"; then # If newly-installed version is a "cooker" or PR build set_setting_value $rd_conf "update_repo" "RetroDECK-cooker" retrodeck "options" set_setting_value $rd_conf "update_check" "true" retrodeck "options" set_setting_value $rd_conf "developer_options" "true" retrodeck "options"