Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

Commit

Permalink
Update the config init script to handle both the profiles
Browse files Browse the repository at this point in the history
	modified:   scripts/init-spicetify-config.ps1

	credits to:
	TheRandomLabs#61
  • Loading branch information
karthikvinayan committed Oct 30, 2021
1 parent 6304fc4 commit a14b5c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/init-spicetify-config.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a14b5c3

Please sign in to comment.