Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local shell = require('shell')
- function uninstall()
- shell.execute('rm /home/.shrc')
- shell.execute('rm -rf /Downloads/')
- shell.execute('rm -rf /System/')
- shell.execute('rm /bin/uninstall.lua')
- print('Rebooting..')
- require('computer').shutdown(true)
- end
- require('term').clear()
- print('Sorry to see you go! Want to fill in our survey?')
- print('Survey: https://goo.gl/forms/HVvUcRCMVEUbQgnb2')
- print('Uninstall OpernetOS? [Y/n]')
- local input = io.read()
- if input == 'y' or input == 'Y' then
- print('Uninstalling..')
- uninstall()
- else
- print('Canceled.')
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement