From a14b5c36a2354faa1b1e01f3849e028235bd9e67 Mon Sep 17 00:00:00 2001 From: Karthik Date: Sat, 30 Oct 2021 13:12:49 +0530 Subject: [PATCH] Update the config init script to handle both the profiles modified: scripts/init-spicetify-config.ps1 credits to: https://github.com/TheRandomLabs/Scoop-Spotify/pull/61 --- scripts/init-spicetify-config.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/init-spicetify-config.ps1 b/scripts/init-spicetify-config.ps1 index fb6284c..2fc02f2 100644 --- a/scripts/init-spicetify-config.ps1 +++ b/scripts/init-spicetify-config.ps1 @@ -13,7 +13,7 @@ $config_exists = Test-Path "$env:USERPROFILE\.spicetify\config-xpui.ini" & "$PSScriptRoot\spicetify.exe" config spotify_path "$(Resolve-Path(Split-Path $spotify_path))" --quiet -if (-not $config_exists) { +if (-not ($config_exists -or $new_config_exists)) { & "$PSScriptRoot\spicetify.exe" config experimental_features 1 --quiet & "$PSScriptRoot\spicetify.exe" config fastUser_switching 1 --quiet & "$PSScriptRoot\spicetify.exe" config extensions "autoSkipExplicit.js|fullAppDisplay.js|keyboardShortcut.js|shuffle+.js|trashbin.js|webnowplaying.js" --quiet