small adjustments, disable demo apps
This commit is contained in:
parent
e871dd4969
commit
7e3fec2ab1
@ -18,7 +18,7 @@ laptop.register_app("launcher", {
|
||||
local x = math.floor((i-1) / c_row_count)*2 + 1
|
||||
local y = ((i-1) % c_row_count)*2 + 1
|
||||
out = out .. 'image_button['..x..','..y..';1,1;'..(e.def.app_icon or 'logo.png')..';'..e.name..';]'..
|
||||
'label['..(x-0.5)..','..(y+1)..';'..e.def.app_name..']'..
|
||||
'label['..(x-0.3)..','..(y+1)..';'..e.def.app_name..']'..
|
||||
'tooltip['..e.name..';'..(e.def.app_info or e.name)..']' --;<bgcolor>;<fontcolor>]'
|
||||
end
|
||||
return out
|
||||
|
@ -10,7 +10,7 @@ table.sort(background_tab)
|
||||
|
||||
|
||||
laptop.register_app("launcher_settings", {
|
||||
app_name = "Settings",
|
||||
app_name = "Laptop Settings",
|
||||
app_icon = "laptop_setting_wrench.png",
|
||||
app_info = "Change laptop settings",
|
||||
|
||||
|
2
init.lua
2
init.lua
@ -5,4 +5,4 @@ dofile(minetest.get_modpath('laptop')..'/os.lua')
|
||||
dofile(minetest.get_modpath('laptop')..'/nodes.lua')
|
||||
|
||||
-- uncomment this line to disable demo apps in production
|
||||
dofile(minetest.get_modpath('laptop')..'/demo_apps.lua')
|
||||
--dofile(minetest.get_modpath('laptop')..'/demo_apps.lua')
|
||||
|
Loading…
x
Reference in New Issue
Block a user