Samir Hi 0880, That's because LuaRT source files are embedded inside the executable. What you describe can only happen with 7zip, because it search the ZIP file signature inside the PE file.
ruby nowadays usually opensource is preferred using script language like lua or python, it is usually impossible to hide your code. there is no secret, just show your code.
Samir I agree with ruby, Compiling Lua scripts to executable is not for obfuscation. It provides a way to bundle Lua scripts with all their dependencies in a single executable. If it's really needed, I can research how to prevent the source code from being made available... ...But I rather prefer to spend my time improving and fixing LuaRT bugs 😅
Samir Ok I've found an easy way to obfuscate embedded content in generated executables. This will not prevent a keen/experienced user from accessing the content. But it will make it more difficult to access the embedded files.
steve64 As alternative, it's not clear to me why precompiling .lua files to Lua bytecode and use the bytecoded files instead of source files is so difficult in LuaRT. Some way to make a bit harder to read back the original sources is important in many real deployments (while I know there are Lua decompilers).
steve64 That would be great! But I opened witj 7-Zip a .exe generated with luartc and I see all my source files as readible .lua I used a command like: rtc -s -w -i .\mypic.ico -o myapp.exe -lui -lsysutils -lnet -lserial -lsqlite -lc main.lua .