1
0
Commit Graph

64 Commits

Author SHA1 Message Date
claustromaniac
11bcf46063
Update updater.bat 2018-03-01 19:15:10 +00:00
claustromaniac
2980073bca
increased revision number
OK that's it. This time it's for reals.
2018-02-23 07:02:11 +00:00
claustromaniac
e8b9f72885
Fix updater URLs before someone bitches about it
/raw/master/ URLs are no longer working on my end. 

That's it.

Yes, really.
2018-02-23 06:47:38 +00:00
claustromaniac
22198d420a
forgot to update the showhelp function 2018-01-18 01:18:05 -03:00
claustromaniac
4fb3040042
replaced -multibackups with -singlebackup
also minor changes to the merge function.
2018-01-17 12:30:02 -03:00
claustromaniac
c8d7694fd3
I really don't like the online editor 2018-01-16 11:13:07 -03:00
claustromaniac
343f77c5e9
minor fix on the version check
'IF !_line! GEQ 4 (' is not reliable.
2018-01-16 10:46:57 -03:00
claustromaniac
a0ec17955d
tiny change 2018-01-16 01:27:36 -03:00
claustromaniac
e195aceb54
Updater 4.3
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.
2018-01-15 22:15:30 -03:00
claustromaniac
2ad3fbdbd3
Update updater.bat 2017-12-26 19:37:39 +00:00
claustromaniac
68a44bcbb4
cosmetic fix
for calls to :message before the script begins logging (with -log)
2017-12-26 17:29:11 +00:00
earthlng
65b64f44b6
Update updater.bat 2017-12-26 00:16:27 +01:00
claustromaniac
643206a3da
autoparrot - second try 2017-12-25 15:30:09 +00:00
claustromaniac
05ac6dd0ec
autoparrot 2017-12-25 08:18:41 +00:00
claustromaniac
daff5f6fa6
cosmetic fix + formatting
the fix in question just removes the extra space in the version + date output (line 91)
2017-12-25 03:48:39 +00:00
claustromaniac
018fb2a321
cosmetic stuff 2017-12-25 03:33:36 +00:00
claustromaniac
4f22afac7f
rewording 2017-12-25 00:51:56 +00:00
claustromaniac
94bbb6bab4
minor change 2017-12-24 16:55:17 +00:00
claustromaniac
b9266bba1d
4.1
- added missing -unattended switch to the list of switches
- other minor changes
2017-12-24 16:49:33 +00:00
earthlng
13534e33bc
Add files via upload 2017-12-19 17:25:14 +01:00
earthlng
88b08d4ac5
Delete updater.bat 2017-12-19 17:24:19 +01:00
earthlng
16e8d6ca7a
Update updater.bat 2017-12-18 16:48:15 +01:00
earthlng
6973bb459c
FIND instead of MORE
to keep TABS intact
2017-12-18 16:33:21 +01:00
earthlng
1571e067e7
convert to CRLF on the fly
MORE also converts TABs to spaces, by default to 8 but I changed it to 4
2017-12-18 16:01:46 +01:00
earthlng
eeef37154d
Update updater.bat 2017-12-18 15:10:35 +01:00
earthlng
be563241d6
Update updater.bat 2017-12-18 15:10:18 +01:00
claustromaniac
25321e7262 4.0? 2017-12-17 15:59:55 +00:00
claustromaniac
ca947c6ae4 4.0b3 - ignore the previous commit lol 2017-12-17 15:02:52 +00:00
claustromaniac
c9f62822a6 4.0b3
- Fix for empty lines.
- Went back to using FIND in the main loop for the good reasons stated by @earthing
2017-12-17 15:01:06 +00:00
claustromaniac
240bcbfbee 4.0b2
Not all issues fixed yet.
2017-12-17 13:46:39 +00:00
earthlng
1262edee61
tiny issues
space instead of TAB, missing quotation marks and suppressing the error message when no *.js files are found in the OR-folder
2017-12-17 13:02:34 +01:00
claustromaniac
2f5ae9b294 v4.0b
Fixes:
	- Merge function:
		*no longer has the potential to truncate super long lines.
		*no more issues with exclamation marks in user_pref lines.

Improvements:
	- Overall better performance due to ECHO syntax changes.
	- Merge function on steroids! Faster than ever, and no longer generates temporary files at all. As it always should have been.

Changes, Additions, Substractions:
	- Leading spaces are no longer ignored by the merge function. Lines to be merged must begin with user_pref.
	- Added header with name, author, version.
	- Added help sub-menu.
	- Added special message when no override files are found when using -multiOverrides.
	- Formatting changes.
2017-12-16 17:55:08 +00:00
claustromaniac
77ca6af2d9 I said 3.2.
I'm not me if I don't miss something.
2017-12-10 01:20:39 +00:00
claustromaniac
e663b8a968 3.2
Prevent issues handling the script when the name includes spaces.

+ Formatting.
2017-12-09 16:49:42 +00:00
claustromaniac
457ef9ec2f 3.1 tidy up 2017-12-03 15:07:15 +00:00
claustromaniac
a6c93b3982 Revert "3.1"
This reverts commit ccaf06973b.
2017-12-03 15:04:41 +00:00
claustromaniac
ccaf06973b 3.1
Minor change suggested by earthing.
2017-12-03 15:01:45 +00:00
claustromaniac
ce3c077d06 3.1 2017-12-03 13:35:41 +00:00
claustromaniac
8a99bb350c 3.1a2 2017-12-01 01:05:24 -03:00
claustromaniac
fc47792df2 3.1a1 2017-11-30 22:17:58 +00:00
claustromaniac
e5d00be8f0 Revert "3.1a1"
This reverts commit ac7ad78d1d.
2017-11-30 22:11:42 +00:00
claustromaniac
ac7ad78d1d 3.1a1
Just added a few lines to make batch updates more visible - which helps with testing.
2017-11-30 18:22:18 +00:00
claustromaniac
00e17281dc Updater 3.1a
-updatebatch now will (or at least should):
*Download new batch and name it [updater]*.bat
*Open that script in a new CMD window.
*Exit

The [updated]*.bat script should:
*Copy itself overwriting the original batch (without renaming).
*Start that script in a new CMD instance.
*Exit.

The new script, with the original name, should:
*Delete the [updated]*.bat script
*Begin the normal script routine.

@earthing do you think I should still rename the scripts to .old or something before overwriting/deleting?
2017-11-30 00:10:01 +00:00
earthlng
0a97660506
updater.bat v3.0 FINAL
THE REAL FUCKING DEAL this time - finally! THANKS @claustromaniac !!
2017-11-29 23:20:00 +01:00
claustromaniac
3737b65f53 Fixed issue with commented-out user_pref lines
It ended up being a mixture of the previous commit and the fix. It writes a temporary file on the go that only holds preferences, and generates the target file at once at the end. It's slower than before, but it works.
2017-11-29 16:15:20 +00:00
claustromaniac
635cacfe54 Replace PING with TIMEOUT
Otherwise earthing's nosy firewall bitches about it.
2017-11-29 15:49:21 +00:00
claustromaniac
a126a32109 Revert "2nd merge optimisation"
This reverts commit c9e7f1ccfa.
2017-11-29 15:18:23 +00:00
claustromaniac
c9e7f1ccfa 2nd merge optimisation
While I figure out a fix for the missing characters...

Enclosing the whole merging loop in parentheses and replacing the source file with the entire output at once is more efficient than appending individual lines with >>%~2. The script doesn't have to wait for the HD to continue processing.
2017-11-29 12:08:15 +00:00
claustromaniac
ff9370b714 fix for hiding powershell output
Everything in a line after a powershell call is considered as being called from PowerShell.

>nul didn't work because of that. Enclosing the line in brackets should fix it.
2017-11-29 04:56:33 +00:00
claustromaniac
b1fd2ba48b minor fix
What would we want a warning that we can't get to read for?
2017-11-29 04:50:01 +00:00