One of the opportunities we discussed for enhancing the system was to consider replacing the Arduino board with a Raspberry Pi Zero W, so we get a full OS and one that can run LiveCode.
I told Daniel I'd put a note together on a simple setup to facilitate quick and easy development on the RPi by bypassing installation of the IDE on the device altogether, developing on his laptop and merely copying runtime files to the RPi.
This particular setup is even simpler by requiring that you build the standalone only one, with most of the app in a separate stack file that's easy to update:
I just opened LC v7.0,4, the most recent build for Raspberry Pi, and indeed it seems you can build standalones for RPi from any of the other platforms (if building for Windows you may need to set the executable bit on the standalone after copying to the RPi). So to make updates super-simple, you can have a simple stack as your standalone with this script:
Code: Select all
on startup
put the filename of this stack into tPath
set the itemdel to "/"
put "MyLibrary.livecode" into last item of tPath -- your stack name goes here
if there is a stack tPath then
start using tPath
else
put "Can't find main library"
quit
end if
end startup
Code: Select all
on libraryStack
-- do whatever you want to do
end libraryStack
This way you can update your app by just replacing the MyLibrary.livecode stack file for small, quick simple updates.