diff --git a/config/portmaster/config.json b/config/portmaster/config.json new file mode 100644 index 00000000..8b6241ef --- /dev/null +++ b/config/portmaster/config.json @@ -0,0 +1,9 @@ +{ + "change_channel": false, + "first-run": true, + "release_channel": "stable", + "show_experimental": false, + "theme": "default_theme", + "theme-scheme": "Dracula", + "version": 2 +} diff --git a/functions/prepare_component.sh b/functions/prepare_component.sh index 9d2e4ba1..6844dbab 100644 --- a/functions/prepare_component.sh +++ b/functions/prepare_component.sh @@ -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