Commit Graph

76 Commits

Author SHA1 Message Date
earthlng
3e4c56cf27
arkenfox support
also fixes mixed line endings
2020-09-13 12:16:21 +00:00
claustromaniac
dafd0894e6
refactoring, mostly
De-duplicates many lines because the -ESR and -RFPalts options require too much boilerplate garbage. The script was unreadable enough without repeating code.

I don't think these changes deserve opening yet another PR, but please let me know if you disagree.
2019-06-12 18:30:08 -03:00
earthlng
3c5f58b812
Update updater.bat 2019-06-12 10:52:46 +00:00
claustromaniac
7d7f580bfc add -RFPalts option (#745) 2019-06-12 10:51:25 +00:00
claustromaniac
0da3835a49
updater.bat -ESR option (#742) 2019-06-11 12:43:27 +00:00
claustromaniac
29e2461cd1 fix -updatebatch (#484) 2018-08-13 12:39:24 +00:00
claustromaniac
f39112f914 P*tches for B*tches (#483)
* replace /V with global VERIFY ON

* change working dir to script dir
The working dir doesn't necessarily match the script's path, depending on how the script is called. All relative paths and conditional statements using EXIST will fail whenever the working dir is not the script's own location. This fixes that.

* minimal stuff, mostly cosmetic

* prompt to run prefsCleaner under very specific circumstances

* improve -updatebatch option

* add version variable + display new script version on update
2018-08-12 11:56:47 +00:00
earthlng
c4d131aaf9
Add files via upload (#474) 2018-08-06 23:33:07 +00:00
Денис
3806ccc68c Introduce end-of-line normalization (#471)
fix for #469
2018-08-06 22:06:30 +00:00
earthlng
5ccea3262f
Update updater.bat 2018-08-06 19:14:56 +00:00
earthlng
94f86465e6
updater for Windows v4.5 (#407)
support commenting-out active user-prefs with the merge function
2018-04-25 21:28:09 +02:00
claustromaniac
64d08dd6bc
Update updater.bat 2018-04-18 20:33:39 +00:00
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