How to generate compiled luac files?
Posted: 25 Nov 2022 00:47
How do you generate compiled lua extension scripts? I've looked in to plain old and but when I run these in a CI context and copy the results over to my local VLC folder in "/Users/%my_name%/Library/Application Support/org.videolan.vlc/lua/extensions", I get no results in that the script doesn't show up in the VLC menu. There is nothing wrong with the script itself and even if I run the latter command locally and copy the result over, it works fine with a generated luac.
Do I have to compile for multiple architectures? If so, is there a reference on how that's done?
Code: Select all
luac ./src/myext_ext.lua
Code: Select all
vlc -I luaintf --lua-intf luac --lua-config 'luac={input="./src/myext_ext.lua",output="./dist/myext_ext.luac"}'
Do I have to compile for multiple architectures? If so, is there a reference on how that's done?