From da42fb01c4984446f7c3061e893fff806a965ff6 Mon Sep 17 00:00:00 2001 From: abgox Date: Sun, 28 Sep 2025 08:11:14 +0800 Subject: [PATCH] feat: use portable config --- install.ps1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install.ps1 b/install.ps1 index b213c59..f719c7f 100644 --- a/install.ps1 +++ b/install.ps1 @@ -694,8 +694,10 @@ $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_CONFIG_FILE = "$SCOOP_CONFIG_HOME\scoop\config.json" +# $SCOOP_CONFIG_HOME = $env:XDG_CONFIG_HOME, "$env:USERPROFILE\.config" | Select-Object -First 1 +# $SCOOP_CONFIG_FILE = "$SCOOP_CONFIG_HOME\scoop\config.json" +$SCOOP_CONFIG_HOME = $SCOOP_DIR +$SCOOP_CONFIG_FILE = "$SCOOP_DIR\config.json" # TODO: Use a specific version of Scoop and the main bucket $SCOOP_PACKAGE_REPO = 'https://github.com/ScoopInstaller/Scoop/archive/master.zip'