mirror of
https://github.com/love2d/love-android.git
synced 2026-08-19 12:14:49 +02:00
imported Löve GLES branch (changeset 1ba9037e558b)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
function b64(name)
|
||||
local i = io.popen("base64 " .. name)
|
||||
local encoded = i:read("*a")
|
||||
i:close()
|
||||
|
||||
local output = ("local %s =\n%q"):format(name:gsub("%.", "_"), encoded)
|
||||
return output
|
||||
end
|
||||
|
||||
for i, v in ipairs(arg) do
|
||||
print(b64(v))
|
||||
end
|
||||
Reference in New Issue
Block a user