Skip to content

Commit

Permalink
Show Config feature
Browse files Browse the repository at this point in the history
  • Loading branch information
CatcherITGF committed Sep 6, 2024
1 parent 703286c commit ed3b745
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 12 deletions.
29 changes: 17 additions & 12 deletions Sources/NXVenom/switch/.packages/System Tweaks/AIO/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@ toggle_state has_line /config/aio-switch-updater/preserve.txt '/atmosphere/confi
toggle_on add-txt-str /config/aio-switch-updater/preserve.txt '/atmosphere/config/'
toggle_off remove-txt-str /config/aio-switch-updater/preserve.txt '/atmosphere/config/'

[*DBI]
toggle_state has_line /config/aio-switch-updater/preserve.txt '/switch/DBI/'
toggle_on add-txt-str /config/aio-switch-updater/preserve.txt '/switch/DBI/'
toggle_off remove-txt-str /config/aio-switch-updater/preserve.txt '/switch/DBI/'

[*Hekate]
toggle_state has_line /config/aio-switch-updater/preserve.txt '/bootloader/hekate_ipl.ini'
toggle_on add-txt-str /config/aio-switch-updater/preserve.txt '/bootloader/hekate_ipl.ini'
toggle_on add-txt-str /config/aio-switch-updater/preserve.txt '/bootloader/bootlogo.bmp'
toggle_off remove-txt-str /config/aio-switch-updater/preserve.txt '/bootloader/hekate_ipl.ini'
toggle_off remove-txt-str /config/aio-switch-updater/preserve.txt '/bootloader/bootlogo.bmp'

[*Status Monitor]
toggle_state has_line /config/aio-switch-updater/preserve.txt '/config/status-monitor/config.ini'
toggle_on add-txt-str /config/aio-switch-updater/preserve.txt '/config/status-monitor/config.ini'
toggle_off remove-txt-str /config/aio-switch-updater/preserve.txt '/config/status-monitor/config.ini'

[*Sys-Clk]
toggle_state has_line /config/aio-switch-updater/preserve.txt '/config/sys-clk/config.ini'
toggle_on add-txt-str /config/aio-switch-updater/preserve.txt '/config/sys-clk/config.ini'
toggle_off remove-txt-str /config/aio-switch-updater/preserve.txt '/config/sys-clk/config.ini'

[*DBI]
toggle_state has_line /config/aio-switch-updater/preserve.txt '/switch/DBI/'
toggle_on add-txt-str /config/aio-switch-updater/preserve.txt '/switch/DBI/'
toggle_off remove-txt-str /config/aio-switch-updater/preserve.txt '/switch/DBI/'

[*Status Monitor]
toggle_state has_line /config/aio-switch-updater/preserve.txt '/config/status-monitor/config.ini'
toggle_on add-txt-str /config/aio-switch-updater/preserve.txt '/config/status-monitor/config.ini'
toggle_off remove-txt-str /config/aio-switch-updater/preserve.txt '/config/status-monitor/config.ini'

[*Sys-Patch]
toggle_state has_line /config/aio-switch-updater/preserve.txt '/config/sys-patch/config.ini'
toggle_on add-txt-str /config/aio-switch-updater/preserve.txt '/config/sys-patch/config.ini'
Expand All @@ -40,13 +40,18 @@ toggle_state has_line /config/aio-switch-updater/preserve.txt '/switch/tinfoil/l
toggle_on add-txt-str /config/aio-switch-updater/preserve.txt '/switch/tinfoil/locations.conf'
toggle_off remove-txt-str /config/aio-switch-updater/preserve.txt '/switch/tinfoil/locations.conf'

-- /config
-- SD:/config

[*Config Folder - Not Recommended]
[*All Configs - Not Recommended]
toggle_state has_line /config/aio-switch-updater/preserve.txt '/config/'
toggle_on add-txt-str /config/aio-switch-updater/preserve.txt '/config/'
toggle_off remove-txt-str /config/aio-switch-updater/preserve.txt '/config/'

-- SD:/config/aio/preserve.txt

[*Show Config]
text_source '/config/aio-switch-updater/preserve.txt'

-- Unlock

[Unlock All]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,8 @@ catch_errors
toggle_state has_line '/config/status-monitor/config.ini' 'show_info=true'
toggle_on set-ini-val '/config/status-monitor/config.ini' micro show_info true
toggle_off set-ini-val '/config/status-monitor/config.ini' micro show_info false

-- SD:/config/status-monitor/config.ini

[*Show Config]
text_source '/config/status-monitor/config.ini'
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ toggle_off set-ini-val '/config/uberhand/config.ini' uberhand show_pack_versions
toggle_state has_line '/config/uberhand/config.ini' 'show_separator=true'
toggle_on set-ini-val '/config/uberhand/config.ini' uberhand show_separator true
toggle_off set-ini-val '/config/uberhand/config.ini' uberhand show_separator false

-- SD:/config/aio/preserve.txt

[*Show Config]
text_source '/config/uberhand/config.ini'

0 comments on commit ed3b745

Please sign in to comment.