Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more complete reset #1015

Merged
merged 1 commit into from Feb 18, 2020
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -30,7 +30,6 @@ end
m.key = function(n,z)
if m.mode == "type" then
if n==2 and z==1 then
norns.state.save()
_menu.set_page("SYSTEM")
elseif n==3 and z==1 then
m.section = m.list[m.pos]
@@ -5,14 +5,11 @@ local m = {
m.key = function(n,z)
if n==2 and z==1 then
_menu.set_page("SYSTEM")
elseif n==3 and z==1 then
elseif n==3 and z==1 then
m.confirmed = true
_menu.redraw()
-- TODO
--if m.tape.rec.sel == TAPE_REC_STOP then audio.tape_record_stop() end
norns.state.clean_shutdown = true
norns.state.save()
if pcall(cleanup) == false then print("cleanup failed") end
os.execute("rm ~/dust/data/system.pset")
os.execute("rm ~/dust/data/system.state")
_norns.reset()
end
end
@@ -6,7 +6,6 @@ local m = {

m.key = function(n,z)
if n==2 and z==1 then
norns.state.save()
_menu.set_page("HOME")
elseif n==3 and z==1 then
_menu.set_page(m.pages[m.pos])
ProTip! Use n and p to navigate between commits in a pull request.