-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updater for Windows v4.3 #341
Updater for Windows v4.3 #341
Conversation
Changes: -The script doesn't touch the user.js file until it really has to. -The merge function is a bit smarter parsing files, at no significant cost. See examples below. -Minor syntactic changes here and there. Additions: -New -multiBackups argument. I personally intend to use it to compare files and quickly review changes.
'IF !_line! GEQ 4 (' is not reliable.
Hi! meow meow. No idea who Earthing is but I'm sure (s)he appreciates being summoned to witness this :) oh boy, lots of changes again. Will probably take a while until I have time to look at this in detail. |
Take your time. I may have to make more changes soon anyway, depending on the outcome of #338. Besides, I'm not 100% convinced about the changes to the merge function. I want to try a few more things.
From the moment I added the So, I wouldn't remove single backups because some people may prefer them, but turning them into an optional feature should be fine, I guess. |
also minor changes to the merge function.
Looks good and seems to work from what I can tell. But what are these |
Pretty sure that's Github's syntax validation. Both lines contain double quotes but don't end in double quotes, it may have to do with that. Edit: apparently it's the CR. Not sure why Github is showing it there, but it shouldn't matter. I assumed Github was trying to validate the syntax because I've seen it do that when I missed ending quotes in the past, and adding the missing quotes effectively removed that |
merged. thanks |
(sorry, I couldn't help myself)
I believe I gave you folks a decent enough rest from my incessant pull requests, so here I come again.
Just think that the more I bother you now, the less I'll bother you in the future. I mean, if these scripts someday become sentient beings capable of maintaining themselves, and if they are willing to, that will most likely be the last time you'll see me around.
Yes, @earthlng. I know I can't make sentient batch files. It was a joke this time.
Changes:
user.js
file until it really has to.Additions:
NewDitched for -singleBackup argument.-multiBackups
argument. I personally intend to use it to compare files and quickly review changes.Merge function examples (click to expand)
user.js contains:
user-overrides.js contains:
Result without these changes:
Result with these changes:
P.S.: Forgive the copy-pasted commit description. I should've edited it at the very least. Oh well.. whatevs.