BRANCH_SELECTOR: added branch variable in the config

This commit is contained in:
XargonWan 2024-02-20 13:10:20 +01:00
parent 44154a55a6
commit ec326284e4
2 changed files with 2 additions and 1 deletions

View file

@ -21,6 +21,7 @@ desktop_mode_warning=true
low_space_warning=true
update_check=false
update_repo=RetroDECK
branch=
update_ignore=
cloud_saves=false
multi_user_mode=false

View file

@ -595,7 +595,7 @@ branch_selector() {
--text="Are you sure you want to move to \"$selected_branch\" branch?"
# Output selected branch
echo "Selected branch: $selected_branch" # TODO: logging - Outputting selected branch
# TODO: write the branch into the config file
set_setting_value "$rd_conf" "branch" "$selected_branch" "retrodeck" "options"
# TODO: check what is the last release for $selected_branch
# TODO: form a proper url: $flatpak_file_url
configurator_generic_dialog "RetroDECK Online Update" "The update process may take several minutes.\n\nAfter the update is complete, RetroDECK will close. When you run it again you will be using the latest version."