Jump to content

self_update


gcue
 Share

Recommended Posts

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

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

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 game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...