Skip to content

xframes-project/xframes-lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xframes-lua

luajit src/main.lua

Instructions

Install Lua

Windows

You may want to use winget

winget install luajit

Set LUA_PATH

Open a PowerShell terminal then run (replace with your username):

[System.Environment]::SetEnvironmentVariable("LUA_PATH", "C:/Users/<USER>/scoop/apps/luarocks/current/rocks/share/lua/5.4/?.lua;C:/Users/<USER>/scoop/apps/luarocks/current/rocks/share/lua/5.4/?/init.lua", [System.EnvironmentVariableTarget]::Machine)

Linux

The luajit2 and luarocks packages should be available on Ubuntu.

Install dependencies

  • luarocks install dkjson
  • luarocks install array
  • luarocks install rxlua
  • luarocks install luv (read below if you are on Windows)

Linux

You likely need to run these as sudo.

Windows

Installing luv requires a x64 VS 2022 developer prompt.

Packaging the app

I will eventually try to use https://github.com/ers35/luastatic to package standalone apps

Screenshots

Windows 11

image

Raspberry Pi 5

image