sanoojes / Spicetify-Lucid

A Dynamic, Highly Customizable Spicetify theme inspired by Bloom and Microsoft Fluent Design.
https://sanooj.is-a.dev/Spicetify-Lucid/
MIT License
69 stars 2 forks source link

Theme not installing, showing errors (Powershell script) #33

Closed ShyMaster202 closed 1 month ago

ShyMaster202 commented 1 month ago

Do you have the latest versions of Spicetify, Spotify and Better Bloom?

Is there already an issue for your problem?

Is your problem definitely caused by the theme?

Environment & Computer Info

- Spotify version: 1.2.40.592.gb83da72d
- Installed from: SpotX auto install script (Windows)
- Spicetify version: v2.36.12
- Color scheme: N/A
- Extensions: N/A
- Custom apps: N/A
- Better Bloom installation method: PowerShell script

Description

  1. Paste the install script for the theme into the terminal and run
  2. Errors pop up I'm assuming the errors are because my user folder has a space in it

Screenshots

image

sanoojes commented 1 month ago

soory for the issue caused i will checkout the issue rn !

sanoojes commented 1 month ago

it think the space in user folder is the issue

sanoojes commented 1 month ago

@ShyMaster202 i cant reproduce this issue ! tried space in user folder name

ShyMaster202 commented 1 month ago

wait now that i look at the error again it looks like its something to do with remove-item and move-item, not sure why though

sanoojes commented 1 month ago

yes your user name and username the script is trying to move is different idk why it is like that

amd64fox commented 1 month ago

idk why it is like that

don't use $env:TEMP use [System.IO.Path]::GetTempPath()

sanoojes commented 1 month ago

thanks i will add that !

also am bad at creating scripts

ShyMaster202 commented 1 month ago

image it presents this error, however the theme installed and is fully functional now! thank you both 👍

amd64fox commented 1 month ago

it presents this error

I think this line should be removed, since the assignment to the $Temp variable inside the hash is an error, especially since it was declared above

https://github.com/sanoojes/better-bloom/blob/53dafdae8bbda74ae3e26cb9746c26d906eb2163/install/Functions.psm1#L302

sanoojes commented 1 month ago

Thanks i will fix it rn !

ShyMaster202 commented 1 month ago

works perfectly now!