S2 Patch Assist Script
Jan. 7th, 2012 09:21 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Right before my brain got refried by this stupid disease I was working on a script to turn the theme layers copied from DW itself into the right format to paste into the s2 code in the sourcecode. I was doing it as I learned how so it's only been tested on about 5 different situations at the moment and I'm quite sure it doesn't do everything so check all output please!!
And yes, my brain got fried (again) by this stupid disability so I'm on indefinite leave from developing for the mean time - and VERY disappointed about it.
At the moment you want to pipe the theme layer through STDIN to the script, so something like
it will tell you what file it writes the output to, it will be something in $LJHOME/temp/
Script
Feedback, cases that break it, improvements, etc. would all be great.
r
Edit: Now with super bonus functioning HTML tags!
And yes, my brain got fried (again) by this stupid disability so I'm on indefinite leave from developing for the mean time - and VERY disappointed about it.
At the moment you want to pipe the theme layer through STDIN to the script, so something like
$ ./newtheme.pl NewThemeName Rising "Tabula Rasa" yes < ~/file-with-theme-layer.txt
it will tell you what file it writes the output to, it will be something in $LJHOME/temp/
Script
Feedback, cases that break it, improvements, etc. would all be great.
r
Edit: Now with super bonus functioning HTML tags!