Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

WAX_SCRIPTS_DIR is pointing to app folder not Contents folder #19

Open
antonh opened this Issue · 1 comment

1 participant

@antonh

wax_start("init.lua", nil) finds my init.lua file and puts("ZOMG, LUA IS RUNNING") only when it is at the same level as the Contents folder in the app package content. I'm using the dev branch.

Great framework BTW. Keep up the good work!

@antonh

in lib/lua/luaconf.h

under

// BEGIN WAX PATCH

#ifndef WAX_SCRIPTS_DIR

replacing

#define WAX_SCRIPTS_DIR "scripts"

with

#define WAX_SCRIPTS_DIR "Contents/scripts"

then

rake build

rake package the framework

corrects the behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.