@@ -8,43 +8,10 @@ if [[ "$action" == "reset" ]]; then # Run reset-only commands
88 log i " ----------------------"
99 log i " Resetting $component_name "
1010 log i " ----------------------"
11-
12- create_dir -d " $azahar_config_path "
13- create_dir -d " $azahar_mods_path "
14- create_dir -d " $azahar_textures_path "
15- create_dir " $screenshots_path /Azahar"
16- create_dir " $saves_path /n3ds/azahar/nand/"
17- create_dir " $saves_path /n3ds/azahar/sdmc/"
18-
19- cp -fT " $component_config /qt-config.ini" " $azahar_config_path /qt-config.ini"
20-
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"
26-
27- dir_prep " $mods_path /Azahar/mods" " $azahar_mods_path "
28- dir_prep " $texture_packs_path /Azahar/textures" " $azahar_textures_path "
29- dir_prep " $shaders_path /Azahar/" " $azahar_shaders_path "
30- dir_prep " $logs_path /Azahar/" " $azahar_logs_path "
31- dir_prep " $cheats_path /Azahar/" " $azahar_cheats_path "
3211fi
3312
3413if [[ " $action " == " postmove" ]]; then # Run commands that apply to both resets and moves
3514 log i " ----------------------"
3615 log i " Post-moving $component_name "
3716 log i " ----------------------"
38-
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"
44-
45- dir_prep " $mods_path /Azahar/mods" " $azahar_mods_path "
46- dir_prep " $texture_packs_path /Azahar/textures" " $azahar_textures_path "
47- dir_prep " $shaders_path /Azahar/" " $azahar_shaders_path "
48- dir_prep " $logs_path /Azahar/" " $azahar_logs_path "
49- dir_prep " $cheats_path /Azahar/" " $azahar_cheats_path "
5017fi
0 commit comments