Posted 21 April 2015 - 03:38 PM
Kd's Pastebin Updater!
—————————————————————
Hey! I was looking around on the forums (Not thoroughly, mind you) for an api or simmilar way to "automatically" update from pastebin. Not finding anything in my cursory search, I decided to make a quick API to update from pastebin! This sadly requires two pastebin programs, and you need to update a version list when you update your program, but, hey! I think it works. I sadly can not test it at this exact moment due to being on my laptop on vacation, and my laptop is really old, with 2GB of ram. I made this in Notepad++, and it took me about one hour. If you find any bugs PLEASE tell me! I don't want this to become abandoned!
Now for the juicy stuff ;)/>
Use
pastebin get QXYe1jVK updater
in the main console screen to download the api. Then all you need is to actually use it! You can read inside of the code, I have included (what I think is) extensive documentation on how the program works, and how to use it :)/> Again, if you find any bugs, please, please tell me, and if you can give me a crash report (the red text that shows up in the computer console) as well as a pastebin to your code so I can check out how you are using it / so I can check for typos ;)/>An example for a version list is here: http://pastebin.com/HmZ3GzVv
Oh, and it (in theory) automatically deletes the version list after it grabs the version, so you shouldn't have a TON of random version list files clogging up your disk space. Yay!
Thanks for checking my little API out :D/>
~Kd
Edited on 21 April 2015 - 07:20 PM