Skip to content

Latest commit

 

History

History
52 lines (28 loc) · 1.29 KB

README.md

File metadata and controls

52 lines (28 loc) · 1.29 KB

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