This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Loading screen
#8
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))
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Reply


Messages In This Thread
Loading screen - by buuuudzik - 28.02.2017, 10:41
RE: Loading screen - by Erwin van der Zwart - 28.02.2017, 23:33
RE: Loading screen - by buuuudzik - 01.03.2017, 05:29
RE: Loading screen - by Erwin van der Zwart - 01.03.2017, 06:36
RE: Loading screen - by Thomas - 01.03.2017, 18:05
RE: Loading screen - by Thomas - 07.03.2017, 11:57
RE: Loading screen - by admin - 07.03.2017, 12:51
RE: Loading screen - by Thomas - 07.03.2017, 14:13
RE: Loading screen - by admin - 07.03.2017, 14:30
RE: Loading screen - by Thomas - 07.03.2017, 15:51

Forum Jump: