11 posts
Posted 14 July 2015 - 04:16 PM
this is a simple program I made that updates the program(s) selected by deleting and reinstalling it from pastebin code(s) supplied
It also has an on/off toggle in the code
http://pastebin.com/hmXKh9Xs
1583 posts
Location
Germany
Posted 14 July 2015 - 05:23 PM
I like the idea, but when using this script with bigger programs (which need multiple files and some of them are images) it will "break" because your program runs every downloaded file, and if the file is an image, it will erorr. maybe add a variable which acts as "start-point" which tells your program which script to run after updating?
11 posts
Posted 19 August 2015 - 12:11 AM
ok im working on it right now
alright i fixed it
on line 13 put the name of the program that u want to run after they update :)/>
i dont reccomend puting this program as a startup i would reccomend naming it something like update so if u want to update the programs u can when u want to