Coder Social home page Coder Social logo

spicetifymanager's Introduction

SpicetifyManager

GitHub release (latest SemVer) GitHub all releases GitHub commits since latest release (by SemVer)
GitHub
GitHub repo size

Features

  • Autodetection of themes, colors, plugins and custom apps.
  • Full support to Spicetify config file settings, preprocesses and additional options.
  • Portable.
  • Spicetify logs directly in app.
  • Version checker.

Requirements

  • Latest version of spicetify-cli.
  • NET 6.0.x Desktop Runtime. Can be downloaded here.
  • Windows 11 or Windows 10 (18362) or newer.

Installation

  • Simply extract the archive (SpicetifyManager-X.X.X-AnyCPU.zip) to the desired directory.

For a custom Spicetify installation(other than the recommended one)

  • Edit directories in config.ini to match your spicetify installation directories.

References

spicetifymanager's People

Contributors

adotbdot avatar

Stargazers

 avatar  avatar Retarded N Confused avatar Marie N avatar Faraz Razi avatar  avatar Erdack54 avatar  avatar Lᴉɐm avatar Media Explorer avatar  avatar potion avatar

Watchers

 avatar

spicetifymanager's Issues

Spicetify Manager won't detect spicetify installed through winget

Issue

Spicetify Manager is unable to detect a winget installed instance of spicetify.

Description

Spicetify looks for Spicetify in appdata\Local, if spicetify is installed through winget, it is installed in the following path:

%localappdata%\microsoft\winget\packages\Spicetify.Spicetify_Microsoft.Winget.Source_8wekyb3d8bbwe

I am unsure as to whether this path can change from installation to installation, but the folder should always start with Spicetify.Spicetify, since that's the name of the winget package.

The config is stored in the same folder as other types of installations:

> spicetify -c
C:\Users\<username>\AppData\Roaming\spicetify\config-xpui.ini

Possible solutions

Adding a config file to change these paths

Adding the option to change where Spicetify Manager looks for spicetify would solve not only this, but other weird edge-cases, where someone decides to install spicetify somewhere else. Something like this would do the trick:

spicetify-manager.conf

{
  spicetify-exe-path: "%LOCALAPPDATA%\microsoft\winget\packages\Spicetify.Spicetify*\"
  spicetify-conf-folder: "%APPDATA%\spicetify\"
}

or:

{
  spicetify-exe-path: ["%LOCALAPPDATA%\spicetify\",
    "%LOCALAPPDATA%\microsoft\winget\packages\Spicetify.Spicetify*\"]
  spicetify-conf-folder: ["%APPDATA%\spicetify\"]
}

Syntax may be different, as Window's classic backslashes can cause problems. A custom config file could be a solution to that, like taking the first option and going for a simple:

spicetify-exe-path=%LOCALAPPDATA%\spicetify\
spicetify-conf-folder=%APPDATA%\spicetify\

By default it could have the regular paths and the user could be prompted to change them if spicetify is not detected.

Call spicetify directly

Another possible solution is to try to call spicetify direcly, if it's in the path variables it should work, and running spicetify -c returns the config file, which, minus the "config-xpui.ini" part at the end, provides the config folder:

> spicetify -c
C:\Users\<username>\AppData\Roaming\spicetify\config-xpui.ini

Using PowerShell's get-command and .Path it is also possible to know where spicetify is installed, in case it is necessary:

> (get-command spicetify).Path
C:\Users\<username>\AppData\Local\Microsoft\WinGet\Packages\Spicetify.Spicetify_Microsoft.Winget.Source_8wekyb3d8bbwe\spicetify.exe

Logs

Detecting Spicetify...
Directory C:\Users\<username>\AppData\Local\spicetify\ does not exist.
File C:\Users\<username>\AppData\Local\spicetify\spicetify.exe does not exist.

Notes

In all text copied, my username on my PC was changed to <username>. The logs show my actual username in that spot.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.