Wonderful. Can you get a handle to the .shy directory from within shoes?
I'm asking because it would be nice to be able to load images, and
static
files relative to your shy.
On Feb 13, 2008, at 11:34 AM, why the lucky stiff wrote:
On Wed, Feb 13, 2008 at 07:07:17AM -0600, Ryan Mulligan wrote:
On 2/13/08, yo kudo <[EMAIL PROTECTED]> wrote:
I envisage that this could be done similar to how Mac OS X app
bundles
work. We could have a basic folder layout, a standard insertion
point (
main.rb for example) which is what Shoes would automatically load
when
launching the bundle, and certain resource folders which would
store images,
data files etc. All this could be zipped up (Archived!) and given
a .shoes
extension.
shoes has a default packaging system. The file extension is .shy .
That's
pretty much all I know about it though, sorry.
Right, so I've checked in some code to fix the .shy maker. It does
almost exactly what yo kudo describes. You give it a directory and
it'll package up that directory and let you specify a script to
launch when the .shy gets executed.
So you can try it out on the samples direectory:
shoes --shy samples
Type in some metadata, select a launch script and save the shy.
You can get some other commands with:
shoes --help
_why