Fixed app launching
This commit is contained in:
parent
92020c4de7
commit
2ce0f5d54f
|
@ -1,4 +1,4 @@
|
|||
local CURRENT_CLIENT_VERSION = "1.0.0.2"
|
||||
local CURRENT_CLIENT_VERSION = "1.0.1.3"
|
||||
local INSTALL_PATH = "/"
|
||||
|
||||
function http_get(url)
|
||||
|
|
|
@ -142,8 +142,13 @@ local function populate_homescreen_buttons()
|
|||
:setSize(FRAME_WIDTH, FRAME_HEIGHT)
|
||||
:setBackground(colours.green)
|
||||
:setVisible(false)
|
||||
|
||||
app_frame:addProgram():setSize(FRAME_WIDTH, FRAME_HEIGHT):execute("/apps/" .. filename)
|
||||
local app_path = ""
|
||||
if fs.exists("/apps/" .. filename) then
|
||||
app_path = "/apps/" .. filename
|
||||
elseif fs.exists("/base_apps/" .. filename) then
|
||||
app_path = "/base_apps/" .. filename
|
||||
end
|
||||
app_frame:addProgram():setSize(FRAME_WIDTH, FRAME_HEIGHT):execute(app_path)
|
||||
|
||||
active_app_frames[filename] = app_frame
|
||||
end
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "1.0.1.2",
|
||||
"version": "1.0.1.3",
|
||||
"sys_files": {
|
||||
"/version.json": "https://git.mcorangehq.xyz/xomf/slabOS/raw/branch/main/version.json",
|
||||
"/app_manifest.json": "https://git.mcorangehq.xyz/xomf/slabOS/raw/branch/main/app_manifest.json",
|
||||
|
|
Loading…
Reference in New Issue
Block a user