You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Adapt install.sh to the XDG Base Directory SpecificationΒ #3963
After a couple of months, this home dir log dumping would become a feature existing for half of the project's lifetime, and also could result in "major" change. Linux user dont like this either.
I'm still standing by my decision in the linked issue. Install log is not deleted because if we would remove it after "installation" there won't be any log. What we can do is remove logs on next run of the install scripts
@rxri what if we removed it in the CLI on the first successful run? Since the need for the log is mostly for installation errors and if everything is working then there is no need for the log
@rxri@afonsojramos I think we should keep the install.log even on first install. However, and correct me if I'm mistaken here, but if it's creating the file in the user's home directory, maybe we should consider moving it somewhere like /home/{USER}/.config/spicetify/install.log.
Are you genuinely think that dumping installation log to user's home directory is an acceptable option, not to mention never removing it?
And referencing bun for not using XDG Spec to justify this non related project? Bun themself already causing problem because of not adapting XDG Spec oven-sh/bun#43665, and theres already ppl submit issue about this 4 years ago, and its before Bum hit version 1.0.0 oven-sh/bun#1678
This makes me wonder, why using dot prefix for spicetify installation ~/.spicetify at the first place? Why not ~/Documents/Spicetify, /spicetify or /run/spicetify. Since using dot prefix for directory name is an convention not an forceful Unix/Linux standard. They are only "hidden" because ls hardcoded to ignore them.
Having the log eventually deleted via something like logrotate would be nice, but, I'm not inclined to think we should delete that file upon successful install. It might report success but be a failure. There are many scenarios you would want the log even if it was successful. As for conventions on where the file should live, I don't like it dropping in the user's home directory. An easy win would be in /tmp which would get purged on next reboot. But a better solution would be something like logrotate. However there's no guarantee the user will have it installed, so I don't know if even that is the best option.
Activity
hugo-sama commentedon Sep 22, 2026
To add to this, it is not just about making
install.shadapt to the XDG Base Directory Specification. Back in January 2023, PR #2092 by @dbolger introduced a feature that createsinstall.logdirectly under users home directory without removing it after the installation finishes. 1d329a7#diff-043df5bdbf6639d7a77e1d44c5226fd7371e5259a1e4df3a0dd5d64c30dca44fR12After a couple of months, this home dir log dumping would become a feature existing for half of the project's lifetime, and also could result in "major" change. Linux user dont like this either.
rxri commentedon Sep 22, 2026
I'm still standing by my decision in the linked issue. Install log is not deleted because if we would remove it after "installation" there won't be any log. What we can do is remove logs on next run of the install scripts
afonsojramos commentedon Sep 22, 2026
@rxri what if we removed it in the CLI on the first successful run? Since the need for the log is mostly for installation errors and if everything is working then there is no need for the log
dbolger commentedon Sep 22, 2026
@rxri @afonsojramos I think we should keep the install.log even on first install. However, and correct me if I'm mistaken here, but if it's creating the file in the user's home directory, maybe we should consider moving it somewhere like /home/{USER}/.config/spicetify/install.log.
hugo-sama commentedon Sep 22, 2026
Are you genuinely think that dumping installation log to user's home directory is an acceptable option, not to mention never removing it?
And referencing bun for not using XDG Spec to justify this non related project? Bun themself already causing problem because of not adapting XDG Spec oven-sh/bun#43665, and theres already ppl submit issue about this 4 years ago, and its before Bum hit version 1.0.0 oven-sh/bun#1678
This makes me wonder, why using dot prefix for spicetify installation
~/.spicetifyat the first place? Why not~/Documents/Spicetify,/spicetifyor/run/spicetify. Since using dot prefix for directory name is an convention not an forceful Unix/Linux standard. They are only "hidden" becauselshardcoded to ignore them.dbolger commentedon Sep 22, 2026
Having the log eventually deleted via something like logrotate would be nice, but, I'm not inclined to think we should delete that file upon successful install. It might report success but be a failure. There are many scenarios you would want the log even if it was successful. As for conventions on where the file should live, I don't like it dropping in the user's home directory. An easy win would be in /tmp which would get purged on next reboot. But a better solution would be something like logrotate. However there's no guarantee the user will have it installed, so I don't know if even that is the best option.
hugo-sama commentedon Sep 23, 2026
@rxri I did asked some questions above and waiting for the active maintainers' answer.