Thank you admin.
But I don't know LM's internal directory structure. Can I ask you about advice which '/path/to/file' should I use? I tried just janifest.json with no path and was looking for the file in root and in scada-vis directory but I haven't found it.
Here is my simple code for generating the file in case someone else is interrested in. I'm planning to add this code to Init event for minimizing the FW update issue mentioned abowe.
require('json')
local lt_data= {
name="Smart Home",
short_name="SmartHome",
start_url="/scada-vis/touch",
display="fullscreen",
background_color="#575656",
description="Smarthome aplication for Eclipse building",
orientation="portrait-primary",
theme_color="aliceblue",
icons={
{
src="/scada/resources/icons/favicon.png",
sizes="128x128",
type="image/png"
},
{
src="/scada/resources/icons/favicon.png",
sizes="192x192",
type="image/png"
}
},
related_applications={
{
platform="web"
}
}
}
ls_data = json.encode(lt_data)
log(io.writefile('/www/scada/resources/chrome-manifest.json', ls_data))
But I don't know LM's internal directory structure. Can I ask you about advice which '/path/to/file' should I use? I tried just janifest.json with no path and was looking for the file in root and in scada-vis directory but I haven't found it.
Here is my simple code for generating the file in case someone else is interrested in. I'm planning to add this code to Init event for minimizing the FW update issue mentioned abowe.
require('json')
local lt_data= {
name="Smart Home",
short_name="SmartHome",
start_url="/scada-vis/touch",
display="fullscreen",
background_color="#575656",
description="Smarthome aplication for Eclipse building",
orientation="portrait-primary",
theme_color="aliceblue",
icons={
{
src="/scada/resources/icons/favicon.png",
sizes="128x128",
type="image/png"
},
{
src="/scada/resources/icons/favicon.png",
sizes="192x192",
type="image/png"
}
},
related_applications={
{
platform="web"
}
}
}
ls_data = json.encode(lt_data)
log(io.writefile('/www/scada/resources/chrome-manifest.json', ls_data))
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259