FrSkyRC / ETHOS-Feedback-Community

Feedback & suggestions are welcomed here for ETHOS by FrSky
192 stars 86 forks source link

X14S / Suite 1.5.12 - "Install Lua script" failed #4793

Open RC-SOAR opened 19 hours ago

RC-SOAR commented 19 hours ago

X14S with Ethos 1.5.19 Ethos Suite 1.5.12

  1. I created a .ZIP file containing a Lua script Devmon.zip

  2. In Ethos Suite, I selected 'Install Lua Scripts'

Failed with error message: 2024-11-25_151203

I successfully installed the script by copying the .lua file manually.

mawzthefinn commented 18 hours ago

Just tested.

If you package it as devmon/main.lua it works

Note it's looking for main.lua in the devmon folder (I also tested with devmon/devmon.lua which didn't work)

RC-SOAR commented 17 hours ago

Thanks.

Interestingly, \scripts\devmon.lua also works and this is the way I've run it up til now.

I guess I'll have to repackage it at some stage.

Nicholas-Luoyi commented 10 hours ago

It is better to storage your script into path like scripts/{script name}/main.lua. So Suite searches "main.lua(c)" as an entrance