SuicidalSTDz / EnderAPI

An API by the people, for the people
suicidalstdz.github.io/EnderAPI
3 stars 1 forks source link

Installer should be able update itself #1

Closed skwerlman closed 10 years ago

skwerlman commented 10 years ago

If the installer were able to update itself, we'd never have to require a manual installer update.

EG in installer: -- code to download new installer temp = fs.open('installer2', 'w') temp.write('the new installer')

in startup: if fs.exists('installer2') then fs.delete('installer') fs.copy('installer2', 'installer') fs.delete('installer2') shell.run('installer') end

dmarcuse commented 10 years ago

I can do this if you want.

Also, I'd want to make a system where it asks the user if they want to update the installer/apis before actually updating them.

SuicidalSTDz commented 10 years ago

Launcher updates itself now. If you want to make a script to ask the user if they want to update, then go for it and I will look it over. I am content with keeping the variable for now, though that will probably change.

skwerlman commented 10 years ago

Since this has been added, we should probably close this, and apemanzilla's idea should be a separate issue, imo. I'll open it now.