MCPcopy Create free account
hub / github.com/spicetify/cli / getConfig

Function getConfig

Extensions/fullAppDisplay.js:874–885  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

872 }
873
874 function getConfig() {
875 try {
876 const parsed = JSON.parse(Spicetify.LocalStorage.get("full-app-display-config") || "{}");
877 if (parsed && typeof parsed === "object") {
878 return parsed;
879 }
880 throw "";
881 } catch {
882 Spicetify.LocalStorage.set("full-app-display-config", "{}");
883 return {};
884 }
885 }
886
887 function saveConfig() {
888 Spicetify.LocalStorage.set("full-app-display-config", JSON.stringify(CONFIG));

Callers 1

fullAppDisplay.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected