Yue Posted 8 hours ago Posted 8 hours ago -- Create a new zip package local pak = CreatePackage("test.zip") -- Create a stream local stream = CreateBufferStream() -- Write a line of text stream:WriteLine("Hello!") -- Insert the stream contents into the package pak:AddFile("test.txt", stream.data) -- Close the stream stream:Close() -- Close the package to finalize changes pak:Close() -- Open the zip file in the default program RunFile("test.zip") Quote Murphy's Law: We don't fix bugs, we document them as features. – Murphy Games
Solution Josh Posted 8 hours ago Solution Posted 8 hours ago Package:Close was declared incorrectly in my Lua binding code. Will be fixed in next update. 1 Quote Let's build cool stuff and have fun.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.