PORTMASTER: initializing config even to set Dracula color scheme

This commit is contained in:
XargonWan 2024-11-30 23:01:23 +09:00
parent 5ffedc8160
commit ea6daed9bc
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,9 @@
{
"change_channel": false,
"first-run": true,
"release_channel": "stable",
"show_experimental": false,
"theme": "default_theme",
"theme-scheme": "Dracula",
"version": 2
}

View file

@ -889,6 +889,9 @@ prepare_component() {
chmod +x "/var/data/PortMaster/PortMaster.sh"
rm -f "$roms_folder/portmaster/PortMaster.sh"
install -Dm755 "/var/data/PortMaster/PortMaster.sh" "$roms_folder/portmaster/PortMaster.sh"
create_dir "/var/data/PortMaster/config/"
cp "$config/portmaster/config.json" "/var/data/PortMaster/config/config.json"
fi
if [[ "$component" =~ ^(ruffle|all)$ ]]; then