Posted 08 November 2015 - 07:28 PM
Program - http://pastebin.com/jSWFQsA1
The way this program works is firstly you will have to provide it with file aswell as a pastebin code in a table where the file is the key and the code is the value. Secondly you will have to have a version variable in the following format:
Need Help? be sure to check the pastebin link's comments at the top first before asking!
The way this program works is firstly you will have to provide it with file aswell as a pastebin code in a table where the file is the key and the code is the value. Secondly you will have to have a version variable in the following format:
version = "*insert version here*"
in both the pastebin file aswell as the local file for the program to not error (don't worry if you don't, it has error prevention and will print out whats wrong). Then my updater program will go through each of the key/values in the filesToUpdate table and compare the version variable not the contents of the pastebin and the local file and if the 2 version variables are different, the program will overwrite the existing local file with the pastebin file.Need Help? be sure to check the pastebin link's comments at the top first before asking!
Edited on 09 November 2015 - 08:42 PM