AgentE382, on 13 January 2014 - 12:41 PM, said:
Download my Pastebin API and put it in a file called "pb", with
If you want it to run every time your computer reboots, create a file named "startup" that just has this in it: update <your pastebin username> <your pastebin password>
Note that I hacked this together in like 5 minutes, so there's absolutely no error handling and it may not work.
pastebin get 5SJ0d1mV pb. Then, put this in a file called "update" by typing
pastebin get UdtTvRxN update. Use it like this: update <username> <password> It will download the latest version of all of your Pastebin pastes into the current directory.
If you want it to run every time your computer reboots, create a file named "startup" that just has this in it: update <your pastebin username> <your pastebin password>
Note that I hacked this together in like 5 minutes, so there's absolutely no error handling and it may not work.
You'd actually need a shell.run call, not just the string you'd directly put into the shell.
However, auto-updating from the web on every startup is a Bad Plan.











