Update Process

slashie101
she/her

Moderator
Moderator
Streamer
Just had a thought that when updating, any "changes" I've made will likely be overwritten unless I manually remember to put them aside and add them back 🤔 I'm not sure what can be done to make this less likely to happen but it might be something worth thinking about?

Maybe a second stylesheet for a streamer's individual changes that gets imported into the main one? Not sure about the java script changes (in this case the code that causes messages to disappear after some time)
 

Zaytri
she/her

Glitch Witch
Admin
Developer
Streamer
Good question! I should definitely make an update guide. There likely won't be many changes to all of the base.* files, since those are just there to provide the default theme of slime2. If anything those will only be updated to provide better organization and comments without changing functionality.

All of the actual code that makes slime2 work is in these files in base.html:
HTML:
<script type="module" crossorigin src="https://cdn.jsdelivr.net/gh/zaytri/slime2@0.1.3/release/slime2.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/zaytri/slime2@0.1.3/release/slime2.css">
So really all you'd need to do to update the version in both of those. The part where it says slime2@0.1.3, the version is 0.1.3, so you just need to change that.

As far as custom themes are concerned, like if I made updates to my upcoming villager theme but you had made modifications to the previous version of that theme, it'd be pretty much on you to figure out those modifications again if you want the functionality that exists in the new version.
 
Last edited:
Upvote 0
Back
Top