Jump to content




Auto Updater! V1.2


11 replies to this topic

#1 Engineer

  • Members
  • 1,378 posts
  • LocationThe Netherlands

Posted 25 March 2013 - 11:50 AM

Auto updater

This program allows you to update complete repositories from github, single files from repositories or even from pastebin! When you enter a file, or repo, with the correct arguments, it get's added to the list to auto-update it. Currently there is no way of removing an entry on the list, but you can do that manually by editing the /.update file.

The program has the following arguments:
  • Updater git <User/Project> <branch> <targetFolder>
    Spoiler
  • Updater gitfile <User/Project/File> <branch> <targetFile>
    Spoiler
  • Updater pastebin <code> <file>
    Spoiler
You can also add a -m argument anywhere, this basically says that it doesn't get added to the list, so with the -m it is just a downloader.

When the program is ran, it always updates the whole list! I am planning to add a hook in to disable that, but that is for later.

Direct link: Pastebin
Most up-to-date: Github
pastebin get iqwUVdbA update

This is an HTTP program, turn it on in your config file!

Changelog:
Spoiler

Known Issues
Spoiler

Future updates
Spoiler

I am really open to suggestions, if you have a good one, dont be afraid to say it! :)
Enoy the program,

- Engineer

Edited by Engineer, 29 April 2014 - 11:38 PM.


#2 AnDwHaT5

  • Members
  • 244 posts

Posted 25 March 2013 - 12:02 PM

Here this is a simple program i will fix your errors if the code is as i think it is. I can also set it to update every time the startup file is launched and i can make it to perm update something all the time. Or when command is used up updates programs through a config file.

#3 Engineer

  • Members
  • 1,378 posts
  • LocationThe Netherlands

Posted 25 March 2013 - 12:25 PM

View PostAnDwHaT5, on 25 March 2013 - 12:02 PM, said:

Here this is a simple program i will fix your errors if the code is as i think it is. I can also set it to update every time the startup file is launched and i can make it to perm update something all the time. Or when command is used up updates programs through a config file.
That doesnt fit in with the concept though.

But anyway, show me some code!

#4 Engineer

  • Members
  • 1,378 posts
  • LocationThe Netherlands

Posted 26 March 2013 - 01:38 AM

Version 1.1 is out!

Fixed some annoying bugs.

#5 NonStopGamer

  • Members
  • 27 posts

Posted 26 March 2013 - 04:52 AM

This is pretty nice, but there's an issue. When people update their programs, they usually create a new paste, so....
But I guess it is still useful if you mess up the code and you wana reinstall.
It would be useful with github I guess....

#6 Engineer

  • Members
  • 1,378 posts
  • LocationThe Netherlands

Posted 26 March 2013 - 05:00 AM

View PostNonstopGamer, on 26 March 2013 - 04:52 AM, said:

This is pretty nice, but there's an issue. When people update their programs, they usually create a new paste, so....
But I guess it is still useful if you mess up the code and you wana reinstall.
It would be useful with github I guess....
On pastebin you can create an account, and then you can edit your files. That is why you would want this.

Edit: It's free! :D

#7 DeliciousJaffa

  • New Members
  • 1 posts

Posted 30 March 2013 - 02:26 PM

I'd like to let you know I've edited your program to my needs and of course added a link back to this thread, feel free to use my code with credit. http://pastebin.com/JW4uj2Jw

#8 goldensecret

  • Members
  • 24 posts

Posted 04 March 2014 - 03:51 PM

can i use this program, to update this program? or is this not being updated anymore

#9 Engineer

  • Members
  • 1,378 posts
  • LocationThe Netherlands

Posted 27 April 2014 - 10:45 PM

I honestly totally forgot about this. It is that I was super bored and decided to browse the programs section, and cross along this!
It's been a long time since I have written this, and I obviously am better with code now.
Expect an update soon. :)

Edit: I just saw I apparantly deleted the paste, so starting from scratch is neccesary, though I was planning to do that. While I'm at it, I'll probably add gui support, github support and some hooks in the github and pastebin api

Edited by Engineer, 27 April 2014 - 10:49 PM.


#10 sjkeegs

  • Members
  • 75 posts

Posted 28 April 2014 - 02:34 AM

View PostEngineer, on 27 April 2014 - 10:45 PM, said:

Edit: I just saw I apparantly deleted the paste, so starting from scratch is neccesary...

I have a copy of what might be your latest update if you want me to stick it in a pastebin.

#11 Engineer

  • Members
  • 1,378 posts
  • LocationThe Netherlands

Posted 28 April 2014 - 09:11 AM

View Postsjkeegs, on 28 April 2014 - 02:34 AM, said:


I have a copy of what might be your latest update if you want me to stick it in a pastebin.
Thanks for the offer, but I decline it. Just for the reason I want to start from scratch again and build it up. Expect a working version with just pastebin support very soon, though note, the arguments won't be the same, but similair :)

#12 Engineer

  • Members
  • 1,378 posts
  • LocationThe Netherlands

Posted 29 April 2014 - 11:39 PM

Updated the OP.

Please leave suggestions and some feedback, I really appreciate those :)
Thanks





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users