Draycos Goldaryn
Member
My idea: You download my game, install it, and then run it. You are given an option to check for updates. You select yes, It then connects to the internet via ftp or somesuch, downloads a single file which happens to be an external ruby script. The game then runs said script, checking a variable within it which stores the version number to see if it matches it's own variable. If it doesn't the external script then connects and downloads specific files and installs them in to the game directory overwriting files if needed or adding files not present. It thens updates the game's version variable and restarts the program. It then asks if you want to check for updates, and when you say yes it downloads the script again, and when it compares the variable, prints back to you "You already have the current version" then goes to the title screen. Of course if you say no at any time, it will send you to the title screen.
Now, how would i do this?
Now, how would i do this?