From 18d597d8d4addc5d7dfaa6e49916244087293a3a Mon Sep 17 00:00:00 2001 From: Ale32bit Date: Tue, 1 Nov 2016 21:28:11 +0100 Subject: [PATCH] Update sPhone.lua --- src/sPhone.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/sPhone.lua b/src/sPhone.lua index 2379aed..bd87f12 100644 --- a/src/sPhone.lua +++ b/src/sPhone.lua @@ -685,6 +685,11 @@ end sPhone.colourPicker = sPhone.colorPicker -- For UK function sPhone.install(spk) + if not fs.exists("/.sPhone/config/spklist") then + local f = fs.open("/.sPhone/config/spklist","w") + f.write("{}") + f.close() + end if string.getExtension(spk) == "spk" then if fs.exists(spk) and not fs.isDir(spk) then local f = fs.open(spk,"r")