Commit Graph

535 Commits

Author SHA1 Message Date
earthlng
183a62448f
1110: updated URL 2017-12-03 19:01:24 +01:00
earthlng
ac751a74f2
Updater for Windows 3.1
more polishing and some changes to prevent potential issues when the user closes the console window too soon.
2017-12-03 16:17:24 +01: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
Thorin-Oakenpants
edec5cc366
Update README.md 2017-12-03 06:35:08 +13: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
Thorin-Oakenpants
cf6f614f5b
2706: Storage API => active, disabled #281 2017-11-30 14:12:53 +13: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
9a4982ec0e
updater.bat v3.0 FINAL
THE REAL FUCKING DEAL this time - finally! THANKS @claustromaniac !!
2017-11-29 23:23:57 +01: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
claustromaniac
bdf69cd198 misc
To account for the possibility of the user running the script silently in the background. PAUSE would leave an instance in memory doing nothing indefinitely.

I was going to use TIMEOUT but PING performs better.
2017-11-29 04:33:02 +00:00
Thorin-Oakenpants
22695f464b
2303->2700s serviceWorker cache #235 2017-11-29 16:21:17 +13:00
Thorin-Oakenpants
44e129ea3d
1830: ref for DRM / EME 2017-11-29 13:32:48 +13:00
claustromaniac
6ff3d1eb36 Fix for the self-update feature and misc
Also minor but significant improvement to the merge function: it no longer writes temp files to the disk while processing data.
2017-11-28 21:53:20 +00:00
earthlng
a389572243
loops forever - fuck it 2017-11-28 18:33:31 +01:00
earthlng
51d98fac09
last attempt
if this doesn't work I'll remove the damn -updatebatch part for good
2017-11-28 18:27:55 +01:00
earthlng
d71321027b
updater.bat v3.0 the real deal
updater auto-update part - let's give this a shot - volunteers?
2017-11-28 18:17:47 +01:00
earthlng
ed4c9202b9
updater.bat v3.0 the real deal
hopefully :fingers_crossed:
2017-11-28 18:15:14 +01:00
earthlng
5b931b06e8
updater.bat auto-update part 2017-11-28 17:34:14 +01:00
earthlng
d3eda589bb
Update updater.bat 2017-11-28 17:32:32 +01:00
Thorin-Oakenpants
0be33e2408
4700: UA Spoof fix ref link 2017-11-28 13:53:15 +13:00
Thorin-Oakenpants
eba3470a81
2700: header fiddling 2017-11-28 13:32:49 +13:00
earthlng
1c997693ff
merging improvements
- keeps all user.js.parrot lines intact
- keeps empty lines intact
- fix for keeping `!` and `^` in non-"user_pref" lines intact

+ some other minor changes + streamlining
2017-11-27 14:02:12 +01:00
Thorin-Oakenpants
76b24fa6aa
2700: header formatting 2017-11-27 10:22:55 +13:00
Thorin-Oakenpants
3b95e04b56
2700: header info 2017-11-27 10:14:55 +13:00
earthlng
3ec7dae496
Update updater.bat
merge functionality and some cleanup
2017-11-26 21:47:30 +01:00
earthlng
a269e53f88
Update updater.bat
- multioverrides support
- formatting changes
2017-11-26 15:57:32 +01:00
earthlng
1789fea4f1
updater.sh - next attempt
... at fixing the script path detection. should hopefully fix #264 (comment)
2017-11-25 18:58:10 +01:00
earthlng
679ca59233
Update updater.sh 2017-11-25 18:56:49 +01:00
Thorin-Oakenpants
82d20c328d
4000: PSA on FPI #281 2017-11-26 03:23:35 +13:00
earthlng
41a55ad5f2
Update updater.sh 2017-11-25 14:37:25 +01:00
earthlng
2c1e4ae542
updater.sh - next attempt
... at fixing the script path detection. should hopefully fix https://github.com/ghacksuserjs/ghacks-user.js/issues/264#issuecomment-346891526
2017-11-25 14:31:17 +01:00
Thorin-Oakenpants
910d4e2e59
2700s: numbers fixup
stop overworking me guys! crssi - thanks!
2017-11-25 23:35:14 +13:00
Thorin-Oakenpants
2bf9e6a773
0103: fixup lets try that again 2017-11-25 22:14:28 +13:00
Thorin-Oakenpants
d279839ba6
0103: fixup - thanks Forsaked 2017-11-25 22:11:49 +13:00
Thorin-Oakenpants
98bb8ad203
Update ghacks-clear-57-[changes-only].js 2017-11-25 17:33:32 +13:00
Thorin-Oakenpants
a281090cdc
Delete test.js 2017-11-25 17:30:53 +13:00
Thorin-Oakenpants
44316934f3
release date & version fixup
You had it right the first time earthlng. Eg Start commits for 55-beta date shown is 9-July. 55-alpha release is dated 18-Aug and we drop the "-beta" part (look inside the release downloads). Start commits for 56-beta date shown is 12-Sept. 56-alpha release is dated 2-Oct and we drop the "-beta" part. And because you created the 57-alpha release before you reversed the date+version, that too is all good.
2017-11-25 16:47:12 +13:00
Thorin-Oakenpants
18048832da
various => 2700 section #235
section 2700 will get a revamp, so not worried about numbering for now. Slight header tweak until we revamp
2017-11-25 16:12:29 +13:00