Fixes in samples

This commit is contained in:
Evgeny
2024-05-06 12:30:05 +04:00
parent bcf5484f49
commit 969c13fba1
2 changed files with 1 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
--[[ --[[
This script is getnerated by ChatGPT This script is generated by ChatGPT
Prompt:Search the internet for examples of scripts for AIO Launcher and write a script named "Jepardy" that will display a question from its database of questions with three answer options on the screen. If the answer is correct, a toast "Correct!" should appear on the screen, and a new question should be displayed. If the answer is incorrect, display a toast "Not correct" and present a new question. The database should contain questions in English. Prompt:Search the internet for examples of scripts for AIO Launcher and write a script named "Jepardy" that will display a question from its database of questions with three answer options on the screen. If the answer is correct, a toast "Correct!" should appear on the screen, and a new question should be displayed. If the answer is incorrect, display a toast "Not correct" and present a new question. The database should contain questions in English.

View File

@@ -1,13 +0,0 @@
function on_resume()
local s1 = {
key1 = "123",
key2 = "val ue 2",
}
settings:set_kv(s1)
local s2 = settings:get_kv()
ui:show_text("key1=\""..s2.key1.."\" ".."key2=\""..s2.key2.."\"")
end