Commit graph

14 commits

Author SHA1 Message Date
Emanuele Petriglia
78432634fb
Allow to parse old options for updater.sh 2018-06-17 19:53:52 +02:00
Emanuele Petriglia
7296d00e84
Fix updater.sh version number 2018-06-16 13:05:47 +02:00
Emanuele Petriglia
49e8415270
Allow updater.sh to update user.js 2018-06-16 12:49:39 +02:00
Emanuele Petriglia
6b2c30b7cc
Add backup option 2018-06-16 11:54:08 +02:00
Emanuele Petriglia
d215dea5b0
Improve parsing of command line options 2018-06-16 11:51:23 +02:00
Emanuele Petriglia
d821c49625
Add help and version messages 2018-06-16 10:59:25 +02:00
Emanuele Petriglia
56e15eb77a
Convert warning to error if can't update script 2018-06-16 10:45:36 +02:00
Emanuele Petriglia
68c5a17f5f
Add an initial rewrite of updater.sh script 2018-06-15 20:37:20 +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