From 3a6f405294c9e47fd81d65f6165da350f17f8586 Mon Sep 17 00:00:00 2001 From: 29039 <61966298+29039@users.noreply.github.com> Date: Fri, 13 Feb 2026 16:26:51 +1100 Subject: [PATCH] Move Scoop's default config file into the persist folder --- install.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.ps1 b/install.ps1 index c16f16e..8873fea 100644 --- a/install.ps1 +++ b/install.ps1 @@ -699,7 +699,8 @@ $SCOOP_APP_DIR = "$SCOOP_DIR\apps\scoop\current" # Scoop main bucket directory $SCOOP_MAIN_BUCKET_DIR = "$SCOOP_DIR\buckets\main" # Scoop config file location -$SCOOP_CONFIG_HOME = $env:XDG_CONFIG_HOME, "$env:USERPROFILE\.config" | Select-Object -First 1 +$SCOOP_LEGACY_CONFIG = if (Test-Path "$env:USERPROFILE\.config") { "$env:USERPROFILE\.config" } +$SCOOP_CONFIG_HOME = $env:XDG_CONFIG_HOME, $SCOOP_LEGACY_CONFIG, "$SCOOP_DIR\persist" | Select-Object -First 1 $SCOOP_CONFIG_FILE = "$SCOOP_CONFIG_HOME\scoop\config.json" # TODO: Use a specific version of Scoop and the main bucket