Skip to content

Commit cfd7c00

Browse files
committed
Add proper sections to Azahar reset and postmove setting changes [skip ci]
1 parent 41634eb commit cfd7c00

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

azahar/component_prepare.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ if [[ "$action" == "reset" ]]; then # Run reset-only commands
1818

1919
cp -fT "$component_config/qt-config.ini" "$azahar_config_path/qt-config.ini"
2020

21-
set_setting_value "$azahar_qtconfig" "use_custom_storage" "true" "azahar"
22-
set_setting_value "$azahar_qtconfig" "nand_directory" "$saves_path/n3ds/azahar/nand/" "azahar"
23-
set_setting_value "$azahar_qtconfig" "sdmc_directory" "$saves_path/n3ds/azahar/sdmc/" "azahar"
24-
set_setting_value "$azahar_qtconfig" "Paths\gamedirs\3\path" "$roms_path/n3ds" "azahar"
25-
set_setting_value "$azahar_qtconfig" "Paths\screenshotPath" "$screenshots_path/Azahar" "azahar"
21+
set_setting_value "$azahar_qtconfig" "use_custom_storage" "true" "azahar" "Data%20Storage"
22+
set_setting_value "$azahar_qtconfig" "nand_directory" "$saves_path/n3ds/azahar/nand/" "azahar" "Data%20Storage"
23+
set_setting_value "$azahar_qtconfig" "sdmc_directory" "$saves_path/n3ds/azahar/sdmc/" "azahar" "Data%20Storage"
24+
set_setting_value "$azahar_qtconfig" "Paths\gamedirs\3\path" "$roms_path/n3ds" "azahar" "UI"
25+
set_setting_value "$azahar_qtconfig" "Paths\screenshotPath" "$screenshots_path/Azahar" "azahar" "UI"
2626

2727
dir_prep "$mods_path/Azahar/mods" "$azahar_mods_path"
2828
dir_prep "$texture_packs_path/Azahar/textures" "$azahar_textures_path"
@@ -36,11 +36,11 @@ if [[ "$action" == "postmove" ]]; then # Run commands that apply to both resets
3636
log i "Post-moving $component_name"
3737
log i "----------------------"
3838

39-
set_setting_value "$azahar_qtconfig" "use_custom_storage" "true" "azahar"
40-
set_setting_value "$azahar_qtconfig" "nand_directory" "$saves_path/n3ds/azahar/nand/" "azahar"
41-
set_setting_value "$azahar_qtconfig" "sdmc_directory" "$saves_path/n3ds/azahar/sdmc/" "azahar"
42-
set_setting_value "$azahar_qtconfig" "Paths\gamedirs\3\path" "$roms_path/n3ds" "azahar"
43-
set_setting_value "$azahar_qtconfig" "Paths\screenshotPath" "$screenshots_path/Azahar" "azahar"
39+
set_setting_value "$azahar_qtconfig" "use_custom_storage" "true" "azahar" "Data%20Storage"
40+
set_setting_value "$azahar_qtconfig" "nand_directory" "$saves_path/n3ds/azahar/nand/" "azahar" "Data%20Storage"
41+
set_setting_value "$azahar_qtconfig" "sdmc_directory" "$saves_path/n3ds/azahar/sdmc/" "azahar" "Data%20Storage"
42+
set_setting_value "$azahar_qtconfig" "Paths\gamedirs\3\path" "$roms_path/n3ds" "azahar" "UI"
43+
set_setting_value "$azahar_qtconfig" "Paths\screenshotPath" "$screenshots_path/Azahar" "azahar" "UI"
4444

4545
dir_prep "$mods_path/Azahar/mods" "$azahar_mods_path"
4646
dir_prep "$texture_packs_path/Azahar/textures" "$azahar_textures_path"

0 commit comments

Comments
 (0)