corgano Posted November 13, 2013 Share Posted November 13, 2013 you could have ti move the parent script to a temp folder, install the new files, and if a failure occurs replace the parent script and continue 0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e Link to comment Share on other sites More sharing options...
gcue Posted November 13, 2013 Author Share Posted November 13, 2013 just want to clarify update script copies new parent to temp folder replace old parent with new parent if it fails continue running old parent script Link to comment Share on other sites More sharing options...
Blinky Posted November 13, 2013 Share Posted November 13, 2013 I have done this with a ftp server , the main script checks for an update in a txt from the server if needs update downloads an uppdate script and runs it, the update script closses the main script downloads an list of files that it got from the txt and runs the new main script and exits, the main script has an if file exist then delete <update script> Link to comment Share on other sites More sharing options...
gcue Posted November 13, 2013 Author Share Posted November 13, 2013 so do the names or paths have to be different obviously right? Link to comment Share on other sites More sharing options...
kaotkbliss Posted November 13, 2013 Share Posted November 13, 2013 I have everything compiled and included in my installer program that simply fileinstalls the updated program to the same location which overwrites everything. 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy! Link to comment Share on other sites More sharing options...
gcue Posted November 13, 2013 Author Share Posted November 13, 2013 do either of you or anyone else have working samples? thanks Link to comment Share on other sites More sharing options...
kaotkbliss Posted November 14, 2013 Share Posted November 14, 2013 pmed you my source code 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now