overdodactyl
4ea7beafb9
updater.sh: single profile check
2018-11-25 09:44:30 -07:00
overdodactyl
91501a414a
updater.sh simplify single profile check
2018-11-24 20:49:54 -07:00
overdodactyl
bbbb6f05d2
updater.sh: -l auto select if only one profile
2018-11-24 16:44:53 -07:00
overdodactyl
3b70fab06d
updater.sh add open file function
2018-11-24 11:12:08 -07:00
overdodactyl
76ca015352
don't create empty diff files
2018-11-23 13:39:49 -07:00
overdodactyl
ce0f86558f
updater.sh tweaks
2018-11-23 11:20:10 -07:00
earthlng
2980d7b519
Update updater.sh
2018-11-23 17:33:47 +00:00
earthlng
3fe46385cd
Update updater.sh
...
now you can use SCRIPT_DIR in update_updater instead of $currdir because $currdir could be anything
2018-11-22 22:24:11 +00:00
claustromaniac
8a2d5891fe
updater.sh minify regex
...
Co-Authored-By: overdodactyl <patjohns1216@gmail.com>
2018-11-22 10:48:47 -07:00
claustromaniac
ad5426111c
typos
2018-11-22 05:41:30 +00:00
overdodactyl
0c824af8d2
upater.sh: correct paths when updating in a different dir
2018-11-21 18:59:42 -07:00
overdodactyl
5a2c110b13
updater.sh add -l option
2018-11-21 17:02:21 -07:00
overdodactyl
47e6741095
updater.sh: add profile option
2018-11-21 16:27:41 -07:00
overdodactyl
75d4615946
updater.sh add review argument (-r)
2018-11-21 14:02:57 -07:00
overdodactyl
789d0672c7
updater.sh add view arg
2018-11-21 13:49:10 -07:00
overdodactyl
36192205a3
updater.sh: -n overrides -o
2018-11-21 12:57:08 -07:00
overdodactyl
4e8291d2c7
updater.sh improve updater_userjs loop
2018-11-21 12:45:27 -07:00
overdodactyl
d6401a3f31
updater.sh add diff option
2018-11-21 12:40:13 -07:00
overdodactyl
1830a5037c
updater.sh - allow non-js files if passed to -o
2018-11-21 10:38:06 -07:00
overdodactyl
315bd08267
add deprecated arguments to -h
2018-11-21 10:12:26 -07:00
overdodactyl
5c67985910
updater.sh - detail -o argument in help
2018-11-21 09:53:56 -07:00
overdodactyl
54211a52bd
restrict overrides to js files
2018-11-21 09:27:48 -07:00
earthlng
1de3634d0c
Update updater.sh
...
- always wrap variables in quotes when dealing with filepaths (for good measure)
- don't append when initially creating the temp file (= easier to test the function in a standalone script without having to worry about cleanup)
2018-11-21 15:26:15 +00:00
overdodactyl
31989ccb35
updater.sh support for directories with spaces
2018-11-20 15:12:49 -07:00
overdodactyl
25f6c336a9
updater.sh argument fixes
2018-11-20 11:34:11 -07:00
earthlng
afbeff7e85
Update updater.sh
2018-11-20 14:15:37 +00:00
overdodactyl
5c969c413c
remove single line comments before multi
2018-11-20 00:33:59 -07:00
overdodactyl
bf87d3558f
add minify user.js option
2018-11-19 23:28:22 -07:00
overdodactyl
43c749ee98
add support for comma separated list of overrides
2018-11-19 21:55:59 -07:00
overdodactyl
b26338e5a0
add support for override directories
2018-11-19 21:08:07 -07:00
overdodactyl
6545b28962
add option to keep only one backup
2018-11-19 20:32:55 -07:00
overdodactyl
c3e652574e
don't require value for all arguments
2018-11-19 19:56:20 -07:00
overdodactyl
f43efcb670
support depracated args
2018-11-19 15:01:50 -07:00
overdodactyl
a4fc404560
add better support for arguments
2018-11-19 13:44:17 -07:00
Pat Johnson
106f46d053
updater.sh restructuring/re-write ( #541 )
...
* Uses `perl` as a last resort if `curl` and `wget` are not available (fixes #537 )
* Aborts and notifies user if none of the above are installed
* Better use of functions
* When version numbers are checked, the contents are immediately saved to a temp dir. This allows us to skip using wget/curl/perl a second time
* Improved messages for users
* Added various font colors for ease of use and aesthetics
2018-11-19 17:34:14 +00:00
Emanuele Petriglia
857cbd8c24
Use wget if curl is not available ( #451 )
...
* Use wget if curl is not available
On most GNU/Linux distributions wget is often preinstalled, while curl
is not.
* Bump updater.sh version
2018-07-06 14:06:01 +02:00
overdodactyl
041e14a4d5
ghacks-user.js updater for Mac/Linux v1.3 ( #406 )
...
* updated shebang
* The script now compares its version number to the one online. If there is a newer version of `updater.sh` online it ask the user if he wants to download and run it.
* 2 parameters are supported: `-donotupdate` to disable the update-check and `-update` to auto-download and run the new version without asking
* Backup files are now saved to the directory `userjs_backups` instead of causing more bloat in the profile directory.
2018-05-03 14:49:43 +02:00
earthlng
679ca59233
Update updater.sh
2017-11-25 18:56:49 +01: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
earthlng
500c129d48
fix for profile detection
...
this should now work no matter how the script is called (including symlinks) on both Mac and Linux.
+ Storing and restoring the original working directory to prevent problems in certain circumstances.
2017-11-18 13:39:29 +01:00
earthlng
da3ba2a97f
Create updater.sh
...
thanks @overdodactyl !!
2017-11-17 15:26:27 +01:00